MadelineProtoDocs/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md

1.1 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];

Or, if you're into Lua:

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