List Telegram channels
list_channelsUse this when you need to list Telegram channels, groups, and chats the authorized user can manage through Postlyra.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| channels | Yes | ||
| connectUrl | No | ||
| telegramAccount | No |