public class AddMessageToConversationOptions extends BaseOptions
optionsMap| Constructor and Description |
|---|
AddMessageToConversationOptions(Integer conversationId,
String body)
Create parameters to add a message.
|
| Modifier and Type | Method and Description |
|---|---|
AddMessageToConversationOptions |
attachmentIds(List<Integer> attachmentIds)
IDs of files to attach to this message.
|
Integer |
getConversationId() |
AddMessageToConversationOptions |
includedMessages(List<Integer> messages)
List of message IDs from this conversation to send to recipients of the new message.
|
AddMessageToConversationOptions |
mediaCommentId(Integer mediaCommentId)
Associate an audio or video file with this message
|
AddMessageToConversationOptions |
mediaCommentType(CreateConversationOptions.MediaCommentType type)
Set the type of media associated with this message
|
AddMessageToConversationOptions |
recipients(List<String> recipients)
Recipients to add to the conversation.
|
AddMessageToConversationOptions |
userNote(Boolean userNote)
Adds a faculty journal entry for each recipient if:
- User making call has permission
- Recipient is a student
- Faculty journals are enabled on the account
|
addEnumList, addNumberList, addSingleItem, addStringList, getOptionsMappublic AddMessageToConversationOptions(Integer conversationId, String body)
conversationId - The ID of the Conversation to add a message tobody - The contents of the messagepublic Integer getConversationId()
public AddMessageToConversationOptions attachmentIds(List<Integer> attachmentIds)
attachmentIds - IDs of files to attach to conversationpublic AddMessageToConversationOptions mediaCommentId(Integer mediaCommentId)
mediaCommentId - Media comment ID of media to associatepublic AddMessageToConversationOptions mediaCommentType(CreateConversationOptions.MediaCommentType type)
type - Type of mediapublic AddMessageToConversationOptions recipients(List<String> recipients)
recipients - User IDs of users to include in this messagepublic AddMessageToConversationOptions includedMessages(List<Integer> messages)
messages - List of message IDspublic AddMessageToConversationOptions userNote(Boolean userNote)
userNote - Whether to add faculty journals to conversationsCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.