Answer Callback
answer_callbackRespond to inline button clicks by updating the message text or showing a notification popup to the user.
Instructions
Respond to an inline button click (callback event from get_updates). You can update the original message text and/or show a notification popup to the user. Must be called within 30 seconds of the button press.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callback_id | Yes | The callback_id from the message_callback event (get_updates) | |
| user_id | Yes | The user_id of the user who clicked the button | |
| notification | No | Short notification text shown as a popup to the user (optional) | |
| message_text | No | New text for the original message (optional, updates the message in-place) | |
| message_format | No | Formatting for message_text |