messages
Description
Get messages in chat before or after a certain message, along with a cursor. The cursor can be used to fetch more messages using messagesByCursor query
Response
Returns a MessageList
Arguments
| Name | Description |
|---|---|
| addressSignature - String! | |
| chatId - String! | |
| direction - QueryDirection! | |
| inclusive - Boolean | |
| limit - Int! | |
| messageId - String! | |
| pageId - String! |
messages(
addressSignature: String!
chatId: String!
direction: QueryDirection!
inclusive: Boolean = true
limit: Int!
messageId: String!
pageId: String!
): MessageList!