MadelineProtoDocs/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

title description image
messages.botCallbackAnswer Bot callback answer https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.botCallbackAnswer

Back to constructors index

Bot callback answer

Attributes:

Name Type Required Description
alert Bool Optional Alert?
has_url Bool Optional Has URL?
message string Optional Message
url string Optional URL
cache_time int Yes Cache time

Type: messages_BotCallbackAnswer

Example:

$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int];

PWRTelegram json-encoded version:

{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string", "cache_time": int}

Or, if you're into Lua:

messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int}