Summarizes a conversation thread between 2 or more users.
More...
Summarizes a conversation thread between 2 or more users.
- See also
- DetailedConversation
◆ AddMessage()
Task<Conversation> UVACanvasAccess.Structures.Conversations.Conversation.AddMessage |
( |
string |
body, |
|
|
IEnumerable< QualifiedId > |
specificRecipients = null , |
|
|
IEnumerable< ulong > |
includedMessages = null , |
|
|
IEnumerable< string > |
attachmentIds = null , |
|
|
string |
mediaCommentId = null , |
|
|
string |
mediaCommentType = null , |
|
|
bool? |
addJournalEntry = null |
|
) |
| |
|
inline |
Adds a message to this conversation.
- Parameters
-
body | The message to send. |
specificRecipients | (Optional) Specific recipients to send the message to. |
includedMessages | (Optional) The set of past messages to send to recipients not already present in the conversation. |
attachmentIds | (Optional) Attachment ids. Attachments must have been uploaded to the current user's attachments folder. |
mediaCommentId | (Optional) Media comment id. |
mediaCommentType | (Optional) Media comment type. |
addJournalEntry | (Optional) If true, a faculty journal entry will be created to record this conversation. |
- Returns
- The updated conversation.
◆ AsDetailedConversation()
virtual Task<DetailedConversation> UVACanvasAccess.Structures.Conversations.Conversation.AsDetailedConversation |
( |
| ) |
|
|
inlinevirtual |
◆ Audience
IEnumerable<ulong> UVACanvasAccess.Structures.Conversations.Conversation.Audience |
|
get |
List of user ids involved in the conversation.
◆ AudienceContexts
Dictionary<string, Dictionary<string, IEnumerable<string> > > UVACanvasAccess.Structures.Conversations.Conversation.AudienceContexts |
|
get |
◆ AvatarUrl
string UVACanvasAccess.Structures.Conversations.Conversation.AvatarUrl |
|
get |
◆ ContextName
string UVACanvasAccess.Structures.Conversations.Conversation.ContextName |
|
get |
The context name (e.g. which course or group the conversation is occuring in).
◆ CurrentUserIsLastAuthor
bool UVACanvasAccess.Structures.Conversations.Conversation.CurrentUserIsLastAuthor |
|
get |
Whether the current user authored the most recent message in the conversation.
◆ HasAttachments
bool UVACanvasAccess.Structures.Conversations.Conversation.HasAttachments |
|
get |
Whether the conversation has attachments.
◆ HasMediaObjects
bool UVACanvasAccess.Structures.Conversations.Conversation.HasMediaObjects |
|
get |
Whether the conversation has media objects.
◆ Id
ulong UVACanvasAccess.Structures.Conversations.Conversation.Id |
|
get |
◆ LastMessage
string UVACanvasAccess.Structures.Conversations.Conversation.LastMessage |
|
get |
◆ LastMessageAt
DateTime? UVACanvasAccess.Structures.Conversations.Conversation.LastMessageAt |
|
get |
When the last message was sent.
◆ MessageCount
uint UVACanvasAccess.Structures.Conversations.Conversation.MessageCount |
|
get |
◆ Participants
◆ Private
bool? UVACanvasAccess.Structures.Conversations.Conversation.Private |
|
get |
Whether the conversation is private.
◆ Properties
◆ ReadState
The conversation's read state from the perspective of the current user.
◆ Starred
bool? UVACanvasAccess.Structures.Conversations.Conversation.Starred |
|
get |
Whether the conversation is starred.
◆ Subject
string UVACanvasAccess.Structures.Conversations.Conversation.Subject |
|
get |
The conversation subject.
◆ Subscribed
bool? UVACanvasAccess.Structures.Conversations.Conversation.Subscribed |
|
get |
Whether the current user is subscribed to the conversation.
◆ Visible
bool? UVACanvasAccess.Structures.Conversations.Conversation.Visible |
|
get |
Whether the conversation would be visible to the current user in the web UI.
The documentation for this class was generated from the following file:
- UVACanvasAccess/Structures/Conversations/Conversation.cs