Method: answerCallbackQuery

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Bots only. Sets result of a callback query

Parameters:

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

Return type: Ok