answerCallbackQuery
Function · TDLib 1.8.67 · d1085f9c
Sets the result of a callback query; for bots only
answerCallbackQuery(
callback_query_id: int64,
text: string,
show_alert: Bool,
url: string,
cache_time: int32
) → Ok
callback_query_id
int64
Identifier of the callback query
text
string
Text of the answer
show_alert
Bool
Pass true to show an alert to the user instead of a toast notification
url
string
URL to be opened
cache_time
int32
Time during which the result of the query can be cached, in seconds