Skip to main content

Properties

Message<TRawMessage>[]
required
Type: MessageMessages in chronological order (oldest first within this page).For direction: 'backward' (default): These are the N most recent messages. For direction: 'forward': These are the N oldest messages (or next N after cursor).
string
Cursor for fetching the next page. Pass this as cursor in the next fetchMessages call.
  • For direction: 'backward': Points to older messages.
  • For direction: 'forward': Points to newer messages.
Undefined if there are no more messages in that direction.