Actions10
Message → List
AI-generatedSummary
List messages in a specified chat by providing the chat ID and optional limit on the number of results.
Inputs
- Chat ID (required) — The ID of the chat to list messages from.
- Options — Optional parameters including 'Limit' to specify the maximum number of messages to return (1-100, default 50).
Output shape
a list of message objects within the specified chat
The results are limited to the number specified by the 'Limit' option if provided; otherwise, defaults to 50 messages. Returned data contains an 'items' array corresponding to messages.
Examples
Example 1: Retrieve up to 30 recent messages from chat with ID 'abc123'.
Set 'Chat ID' to 'abc123', set 'Limit' under 'Options' to 30.