Get messages from a chat
List visible Messages and group-history events in a Chat.
The default order is oldest first. Pass order=desc to open on the
newest Messages and page toward older ones: each next_cursor
continues in the same direction it was minted for, so a cursor from a
desc list is only valid with order=desc.
Authorizations
Bearer token authentication. Include your API token in the Authorization header.
Format: Authorization: Bearer <your-token>
Path Parameters
Unique identifier of the chat
Query Parameters
Pagination cursor from previous next_cursor response
Maximum number of messages to return
1 <= x <= 100Sort order for messages (asc = oldest first, desc = newest first). A cursor is only valid with the order it was returned for.
asc, desc Return one thread only, in time order, with no group-history events. The result is the Message that opened the thread plus every Message whose thread.originator_message_id is that Message, so a reply to a reply is included. Answers 404 when the Message is not in this Chat or the caller cannot see it. A cursor from a thread list is only valid with the same thread.

