Messages are managed by the websocket.
| Key | Type | Description |
|---|---|---|
number {% class(unique) unique %} | string | Phone number of the conversation (1-32 characters) |
timestamp | number | Date (unix ms, UTC) |
last_message_content | string | Content of the last message (1-1024 characters) |
self | boolean | Is phone number of custom_id equals to the last message sender? |
| Key | Type | Description |
|---|---|---|
number | string | Phone number of the sender (1-32 characters) |
timestamp | number | Date (unix ms, UTC) |
message_content | string | Content of the message (1-1024 characters) |
| Key | Type | Description |
|---|---|---|
content | string | Content of the message (1-1024 characters) |
timestamp | number | Date (unix ms, UTC) |
| Key | Type | Description |
|---|---|---|
custom_id | string unique | Unique identifier from your services (1-64 characters) |
number | string | Phone number of the profile (1-64 characters) |
| Key | Type | Description |
|---|---|---|
sender | PartialPlayerPayload | Sender partial payload |
recipient | PartialPlayerPayload | Recipient partial payload |
message | MessagePayload | Message payload |
Incoming events
Outgoing events
Powered by Doctave