Link Search Menu Expand Document

Constructor: messages.botPreparedInlineMessage

Back to constructors index

Represents a prepared inline message saved by a bot, to be sent to the user via a web app »

Attributes:

NameTypeRequiredDescription
idstringYesThe ID of the saved message, to be passed to the id field of the web_app_send_prepared_message event »
expire_dateintYesExpiration date of the message

Type: messages.BotPreparedInlineMessage

Example:

$messages_botPreparedInlineMessage = ['_' => 'messages.botPreparedInlineMessage', 'id' => 'string', 'expire_date' => int];