ChatMessage
class ChatMessage
Instance Properties
- attachments Array of attachments to this message
- direction Direction of this message
- encryption Information about the encryption used by the sender of this message.
- lang Language code for the body
- linkMetadata Metadata about links associated with this message
- localId The ID as set by the creator of this message
- o
- reactionKeys List of reactions to this message
- replyToMessage Message this one is in reply to, or NULL
- senderId The ID of the sender of this message
- serverId The ID as set by the authoritative server
- serverIdBy The ID of the server which set the serverId
- status Status of this message
- statusText Message to go along with the message status
- threadId ID of the thread this message is in, or NULL
- timestamp The timestamp of this message, in format YYYY-MM-DDThh:mm:ss[.sss]Z
- type The type of this message (Chat, Call, etc)
- versions Array of past versions of this message, if it has been edited
Instance Methods