Skip to main content

Properties

string
Pagination cursor for fetching the next page of messages. Pass the nextCursor from a previous FetchResult.
Direction to fetch messages.
  • backward (default): Fetch most recent messages. Cursor moves to older messages.
  • forward: Fetch oldest messages. Cursor moves to newer messages.
Messages within each page are always returned in chronological order (oldest first).
number
Maximum number of messages to fetch. Default varies by adapter (50-100).