zernio_set_telegram_commands
Register custom bot commands for a Telegram bot by providing the account ID and a list of command-description pairs. Users will see these commands in the bot's menu.
Instructions
Set bot commands for a connected Telegram bot (the /command list shown to users).
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": {
"accountId": "<accountId>",
"commands": "<commands>"
},
"name": "zernio_set_telegram_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | List of bot commands to register | |
| accountId | Yes | The Zernio Telegram account ID |