Class Message#

Inheritance Relationships#

Base Type#

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 given Channel

.

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 the uid of the user is copied to the mentions list for easy reference.

Public Functions

Message ()#
Message (Object obj)

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.

Public Static Functions

new Message Parse (string json)#

Parses the given JSON encoded string into a new Message instance.

Param json:

Return: