Get Many
AI-generatedSummary
Retrieves messages from a MAX chat or channel by chat ID, or looks them up by explicit message IDs. Optional timestamp bounds and a result limit can be supplied.
Inputs
- Get Messages By (required) — Choose whether to retrieve by Chat ID (the default) or Message IDs.
- Chat ID (required) — Signed int64 ID of the chat or channel; shown when retrieving by chat.
- Message IDs (required) — Comma-separated message or post IDs; shown when retrieving by IDs.
- From — Unix timestamp in milliseconds. Defaults to 0, which omits this boundary. The UI describes this as the upper timestamp boundary.
- To — Unix timestamp in milliseconds. Defaults to 0, which omits this boundary. The UI describes this as the lower timestamp boundary.
- Limit — Maximum number of results to return; defaults to 50.
Output shape
A list of message records.
The provided source pack shows the operation execution structure but omits function bodies, so it does not establish the exact response fields or whether the list is wrapped in an envelope.