Skip to main content
Module

x/gesso/src/Conversations.ts>Conversations

A TypeScript API client for Canvas LMS
Latest
class Conversations
extends BaseApi
import { Conversations } from "https://deno.land/x/gesso@v0.1.2/src/Conversations.ts";

Constructors

new
Conversations(config: Configuration)

Methods

addMessage(
id: string,
body?: unknown,
): Promise<Scope>
addRecipients(
id: string,
body?: unknown,
): Promise<Admin>
createConversation(params?: CreateConversationParams, body?: unknown): Promise<Scope>
deleteConversation(id: string, body?: unknown): Promise<Scope>
deleteMessage(
id: string,
body?: unknown,
): Promise<Scope>
editConversation(
id: string,
body?: unknown,
): Promise<Scope>
findRecipients(body?: unknown): Promise<Scope>
getRunningBatches(body?: unknown): Promise<Conversation>
getSingleConversation(
id: string,
body?: unknown,
): Promise<Submission>
listConversations(params?: ListConversationsParams, body?: unknown): Promise<Conversation[]>
markAllAsRead(body?: unknown): Promise<Scope>
unreadCount(body?: unknown): Promise<Scope>