Load History
Load room history. After the initial load, you can stream room messages.
Payload Parameters
Argument | Example | Required | Description |
|
| Required | The room id |
timestamp |
| Required | The NEWEST message timestamp date (or null) to only retrieve messages before this time. |
quantity | 50 | Required | The quantity of results to be returned. |
date | Required | The date of the last time the client got data for the room |
Example Call
Request of the latest 50 messages
Request of the latest 50 messages, using pagination
Example Response
The response consists of the message
and unreadNotLoaded
. The unreadNotLoaded
counts the number of unread messages not loaded by the call.
Last updated