Connect Telegram
connect_telegramConnect the bot to the owner's own Telegram bot so it answers there too. The owner creates a Telegram bot with @BotFather (send /newbot) and gives you the token it replies with. Needs the owner's email on the bot first.
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": {
"bot_id": "<bot_id>",
"token": "<token>"
},
"name": "connect_telegram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token from @BotFather, like 123456789:AAH… | |
| bot_id | Yes | The bot id, like b_AbC123xyz789 (from create_bot or list_my_bots). | |
| edit_key | No | The bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private. |