messages_press_button
Press a button under a message in a Telegram chat, as the connected Telegram account: the inline menus bots such as @BotFather reply with. Name the button by its exact label.
Returns the message as it looks after the press (bots usually edit it into the next menu) and anything the bot sent after it, each with its own buttons and a message_id you can pass back to press the next one.
Refused: buttons that need the account's cloud password (the owner confirms those in the Telegram app), and buttons that share a phone number or location, pay, or open a web app. A link button is not pressed; its URL is returned. A label that matches no button returns the buttons that exist.
Get the message_id from messages.read_history. Telegram user accounts only; a bot account cannot press buttons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | Thread containing the message (numeric DB id or channel_ref like 'telegram:123456789'). | |
| message_id | Yes | Message the button is under: a DB id from messages.read_history, or a 'telegram:<id>' returned by a previous press. | |
| button_text | Yes | The button's label, exactly as shown (case is ignored if nothing matches exactly). | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |