get_messages_multi
Retrieve recent messages from 1–25 Telegram channels in one call, returning per-channel results and errors so one bad channel does not fail the request.
Instructions
Get recent messages from multiple Telegram channels in one call (1-25 channels). Returns per-channel results and per-channel errors, so one bad channel does not fail the call. Same response fields as get_recent_messages per channel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channels": "<channels>"
},
"name": "get_messages_multi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone used to resolve date-only sinceDate and 'today'/'yesterday' (e.g., Europe/Kyiv). Default: UTC | |
| limit | No | Max messages per channel (default: 50, max: 100) | |
| channels | Yes | Channel identifiers (1-25): @username, bare numeric id, or -100-prefixed id | |
| sinceDate | No | Get messages since this date. Accepts a full ISO datetime, a plain date (midnight in tz), or 'today' / 'yesterday' | |
| sinceHours | No | Get messages from the last N hours | |
| excludeMedia | No | Omit media-only messages (no text and no caption) | |
| sinceMinutes | No | Get messages from the last N minutes | |
| maxTextLength | No | Truncate each message text to this many characters (adds textTruncated: true) |