answer_callback_query


Description:

public async Ok answer_callback_query (int64 callback_query_id, string text, bool show_alert, string url, int32 cache_time) throws TDLibError

Sets the result of a callback query; for bots only

Parameters:

callback_query_id

Identifier of the callback query

text

Text of the answer

show_alert

Pass true to show an alert to the user instead of a toast notification

url

URL to be opened

cache_time

Time during which the result of the query can be cached, in seconds