import { type CreateConversationParams } from "https://deno.land/x/gesso@v0.1.2/types/params.ts";
Properties
An array of recipient ids. These may be user ids or course/group ids prefixed with “course_” or “group_” respectively, e.g. recipients[]=1&recipients=2&recipients[]=course_3. If the course/group has over 100 enrollments, 'bulk_message' and 'group_conversation' must be set to true.
The subject of the conversation. This is ignored when reusing a conversation. Maximum length is 255 characters.
Defaults to false. When false, individual private conversations will be created with each recipient. If true, this will be a group conversation (i.e. all recipients may see all messages and replies). Must be set true if the number of recipients is over the set maximum (default is 100).
An array of attachments ids. These must be files that have been previously uploaded to the sender's “conversation attachments” folder.
Will add a faculty journal entry for each recipient as long as the user making the api call has permission, the recipient is a student and faculty journals are enabled in the account.