v1
latestOpenAPI 3.0.02026-07-249301.3 MBList all messages from a chat
Returns a list of messages related to the given chat. Some parameters are available to filter the results.
Path parameters
The id of the chat related to requested messages.
Query parameters
A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.
A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
A limit for the number of items returned in the response. The value can be set between 1 and 250.
A filter to target messages received from a certain sender. The id of the sender targeted.
Response
OK. Request succeeded.