answer_callback_query
Answer an inline button press by acknowledging the callback query, optionally showing a notification or opening a URL. Must follow a callback_query update.
Instructions
Answer a callback query from an inline button press. Must be called after receiving a callback_query update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to open in the user's browser | |
| text | No | Text to show to the user (up to 200 chars) | |
| cache_time | No | Time in seconds to cache the answer | |
| show_alert | No | Show an alert instead of a toast notification | |
| callback_query_id | Yes | ID of the callback query to answer |