class Conversations
extends BaseApi
import { Conversations } from "https://deno.land/x/gesso@v0.1.2/src/mod.ts";
Constructors
new
Conversations(config: Configuration)Methods
addMessage(): Promise<Scope>
id: string,
params?: AddMessageParams,
body?: unknown,
addRecipients(): Promise<Admin>
id: string,
params?: AddRecipientsParams,
body?: unknown,
batchUpdateConversations(params?: BatchUpdateConversationsParams, body?: unknown): Promise<Progress>
createConversation(params?: CreateConversationParams, body?: unknown): Promise<Scope>
deleteConversation(id: string, body?: unknown): Promise<Scope>
deleteMessage(): Promise<Scope>
id: string,
params?: DeleteMessageParams,
body?: unknown,
editConversation(): Promise<Scope>
id: string,
params?: EditConversationParams,
body?: unknown,
findRecipients(body?: unknown): Promise<Scope>
getRunningBatches(body?: unknown): Promise<Conversation>
getSingleConversation(): Promise<Submission>
id: string,
params?: GetSingleConversationParams,
body?: unknown,
listConversations(params?: ListConversationsParams, body?: unknown): Promise<Conversation[]>
markAllAsRead(body?: unknown): Promise<Scope>
unreadCount(body?: unknown): Promise<Scope>