...
Name | Type | Description | ||||
---|---|---|---|---|---|---|
room |
| Chat unique identifier | ||||
data |
| Object containing message info. See message data object for more details. |
Message Data Object
Name | Type | Description | ||||
---|---|---|---|---|---|---|
id |
| message unique identifier | ||||
messageType |
| Type of the message. Can assume one of the following values: “TEXT” “IMAGE” “DOCUMENT” “LINK” | ||||
ts |
| Timestamp of when message was sent | ||||
deliverySuccess |
| Indicates whether the message was sent successfully | ||||
deliveryErrorReason |
| Error occurred if the message was not sent correctly |
Message Content Object
Name | Type | Description | ||||
---|---|---|---|---|---|---|
text |
| Only in “TEXT” message, contains the message sent | ||||
user |
| Semplified user object containing only user id and isAgent properties of the user who sent the message. | ||||
url |
| Contains the url of the link message | ||||
id [content object] |
| Contains the id of the multimedia message sent. |
...