Telegram - Answer callback query action ​

The Answer callback query action responds to a callback query sent when a user taps an inline keyboard button in Telegram.

Input ​

Input fieldDescription
Callback query IDEnter the unique identifier of the query to answer.
TextOptional. Enter the text of the notification. Leave this field blank to not display a notification.
Show alertOptional. Select Yes or No to show an alert instead of a notification at the top of the chat screen.
URLOptional. Enter a URL to open in the user's client, such as a link to a game accepted through @BotFather.
Cache timeOptional. Enter the maximum number of seconds that the result of the callback query may be cached client-side. Defaults to 0.

Output ​

Output fieldDescription
Is answered?A boolean response (true or false) that indicates if the request was successful.

Last updated: