TDLib v0.0.2 TDLib.Method.AnswerCallbackQuery View Source

Sets the result of a callback query; for bots only. Returns object_ptr.

NameTypeDescription
callback_query_idstringIdentifier of the callback query.
textstringText of the answer.
show_alertboolIf true, an alert should be shown to the user instead of a toast notification.
urlstringURL to be opened.
cache_timenumberTime during which the result of the query can be cached, in seconds.

More details on telegram’s documentation.