click_inline_button
Click an inline button under a bot message by providing the button text or its flat index. Select the correct button to trigger bot actions in Telegram.
Instructions
Нажать inline-кнопку под сообщением бота.
Args:
button_text: текст кнопки (точное совпадение).
button_index: альтернатива — flat-индекс кнопки (через все ряды).
Передай либо button_text, либо button_index.
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": {
"chat": "<chat>",
"message_id": "<message_id>"
},
"name": "click_inline_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| message_id | Yes | ||
| button_text | No | ||
| button_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||