Skip to content

answerCallbackQuery

Sahri Riza Umami edited this page Dec 8, 2016 · 2 revisions

Bots only.
Sets result of the callback query.

answerCallbackQuery(callback_query_id, text, show_alert, url, cache_time)
Option Description
callback_query_id Identifier of the callback query.
text Text of the answer.
show_alert If true, an alert should be shown to the user instead of a toast.
url Url to be opened.
cache_time Allowed time to cache result of the query in seconds.

Example

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally