Reference
Press a bot button
Press an inline button under a bot message by its row / column (as stored on the message). Only buttons the bot really sent can be pressed; URL / copy buttons are not pressed here. The operation result carries the bot's answer (toast or alert text, or a link).
View MarkdownThis page is generated from the source code on every release.
Press an inline button under a bot message by its row / column (as stored on the message). Only buttons the bot really sent can be pressed; URL / copy buttons are not pressed here. The operation result carries the bot's answer (toast or alert text, or a link).
Overview
| Name | Value |
|---|---|
| Code | bots.press_button |
| Scope needed | messages.send |
| Risk | Write |
| May need confirmation | No |
| Runs as | Queues work for a node |
Needs Idempotency-Key |
Yes |
| Member roles allowed | owner, manager, agent |
| Needs a worker from version | 1.0.19 |
| In the app | Inbox → buttons under a bot message |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
messageId |
uuid |
Yes | |
row |
integer |
Yes | |
column |
integer |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/bots.press_button \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <unique key per operation>" \
-d '{"messageId":"00000000-0000-0000-0000-000000000000","row":1,"column":1}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
jobId |
text |
Yes |
Example answer
{
"data": {
"ok": true,
"jobId": "00000000-0000-4000-8000-000000000000"
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "bots.press_button". Tool name when listed: bots_press_button.