Skip to content

answer()

SilverOS edited this page Dec 28, 2019 · 3 revisions

callback_query->answer() send a answerCallbackQuery request using the id of the current callback query.

function answer ($text='',$show_alert = false,$url = false,$cache_time = false,$botObject=false)
  • $text OPTIONAL: text parameter for the request
  • $show_alert OPTIONAL: show_alert parameter for the request
  • $url OPTIONAL: url parameter for the request
  • $cache_time OPTIONAL: cache_time parameter for the request
  • $botObject OPTIONAL: is a botApi object, if not defined uses a global variable $bot
Clone this wiki locally