Class Message#
Defined in File Message.cs
Inheritance Relationships#
Base Type#
public xbe.sdk.EntityBase
(Class EntityBase)
Class Documentation#
- class xbe.sdk.Models.Message : xbe.sdk.EntityBase#
A
Message
contains a single message that has been sent by a user in a givenChannel
.
Messages may contain a list of attachments.
An attachment can either be the unique identifier of an asset or the URL of a media file.
br/> When a user is mentioned in the message
content
theuid
of the user is copied to thementions
list for easy reference.Properties
- string ChannelUid { get; set; }#
The unique identifier of the channel that this messsage belongs to.
- string UserUid { get; set; }#
The unique identifier of the user that sent this message.
- string Content { get; set; }#
The contents of the message.
- string ThreadUid { get; set; }#
The unique identifier of the thread channel that was started from this message.
- string > Mentions { get; set; }#
The list of unique identifiers for each user that was mentioned in this message.
- Object Attachments { get; set; }#
A map of key-value pairs representing a list of attachments that have been appended to the mail.The key of
each pair is the name of the attachment and the value must be an encoded string. The string can represent any
data including binary data using base64 encoding.