MadelineProtoDocs/old_docs/API_docs_v89/constructors/messages_botCallbackAnswer.md

1.2 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?
native_ui Bool Optional Native ui?
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, 'native_ui' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int];

Or, if you're into Lua:

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