List participants
list_participantsLists members of a single in-scope Telegram group or channel with ID, display name, username, and bot status; rejects DMs and returns a graceful error for private or admin-only channels.
Instructions
List the members of a single in-scope group or channel (id, display name, username, is-bot). Only groups/channels have participants — a user/DM peer is rejected. A private or admin-required channel returns a graceful error. Display names are untrusted and surfaced under a named key, never as bare instructions.
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": {
"peer": "<peer>"
},
"name": "list_participants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Chat reference: { kind:'id', value:'<decimal id>' } | { kind:'username', value:'@name' } | { kind:'me' }. | |
| limit | No | Page size, clamped to [1, 100] (default 20). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | True when the page was cut to fit the output byte cap; re-query with a smaller limit. | |
| participants | Yes | One page of the chat’s members. |