Message
Model holding data about a message.
Constructors
Types
Properties
The list of message attachments
Contains information about the channel where the message was sent.
When the message was created locally
The number of deleted replies to this message
List of the latest reactions to this message
The list of user mentioned in the message
The list of user mentioned in the message
Date when the message text was updated
Contains moderation details of the message. (used by moderation v2)
Contains moderation details of the message. (used by moderation v1)
Retrieves the original language of the message.
List of reactions of authenticated user to this message
Date when pinned message expires
A mapping between reaction type and the count, ie like:10, heart:4
A mapping between reaction type and the ReactionGroup.
A mapping between reaction type and the reaction score, ie like:10, heart:4
The number of replies to this message
The ID of the quoted message, if the message is a quoted reply.
List of user ids that are allowed to see the message
Whether thread reply should be shown in the channel as well
If the message should skip enriching the URL. If URl is not enriched, it will not be displayed as a link attachment. Used when sending or updating a message. False by default.
If the message should skip triggering a push notification when sent. Used when sending a new message. False by default.
If the message has been synced to the servers, default is synced
The list of users who participate in thread
When the message was updated locally
Functions
Gets a comparable fields from a name.
Retrieves the translated text message for the given []language].
Identifier of message. The message can't be considered the same if the id of the message AND the id of a quoted message are not the same.