TDLib v0.0.2 TDLib.Method.AnswerCallbackQuery View Source
Sets the result of a callback query; for bots only.
Returns object_ptr
Name | Type | Description |
---|---|---|
callback_query_id | string | 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 notification. |
url | string | URL to be opened. |
cache_time | number | Time during which the result of the query can be cached, in seconds. |
More details on telegram’s documentation.