Skip to content

answerCallbackQuery

Sahri Riza Umami edited this page Sep 10, 2017 · 3 revisions

Bots only.
Sets result of a callback query

answerCallbackQuery(callback_query_id, text, show_alert, url, cache_time)
Field Type Description
callback_query_id int64 Identifier of the callback query
text string Text of the answer
show_alert Bool If true, an alert should be shown to the user instead of a toast
url string Url to be opened
cache_time int32 Allowed time to cache result of the query in seconds

Frequently Asked Questions
The Functions

Clone this wiki locally