Chat
Xelion Object
↪ Chat
A chat message. A chat message is a part of a chat session. A chat message contains text or an attachment.
Every member of the chat session receives a Communication object with the data of this message.
Fields
Name | Type | Notes | |
---|---|---|---|
creator |
The creator of the message. |
||
chatSession |
The chat session of which this message is a part of. |
||
contents |
|
The textual contents of this chat message, or null if this chat message contains an attachment. |
|
reference |
An reference to an attachment, or null if this message contains text. |
||
date |
|
The date this message is sent. |
|
incoming |
|
|
|
read |
|
|
|
clientId |
|
An optional ID. The client may set this ID in order to be able to recognize it later. |
|
communication |
only when sending a message |
The object id of the created communication object |
|
forwarded |
|
|
|
repliedMessage |
original message where replied to |