MadelineProtoDocs/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md
2019-12-27 17:48:04 +01:00

1002 B

title description image
messages.botCallbackAnswer Callback answer sent by the bot in response to a button press https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.botCallbackAnswer

Back to constructors index

Callback answer sent by the bot in response to a button press

Attributes:

Name Type Required Description
alert Bool Optional Whether an alert should be shown to the user instead of a toast notification
message string Optional Alert to show

Type: messages_BotCallbackAnswer

Example:

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

Or, if you're into Lua:

messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message='string'}