Link Search Menu Expand Document

Constructor: updateBotMenuButton

Back to constructors index

The menu button behavior for the specified bot has changed

Attributes:

NameTypeRequiredDescription
bot_idlongYesBot ID
buttonBotMenuButtonYesNew menu button

Type: Update

Example:

$updateBotMenuButton = ['_' => 'updateBotMenuButton', 'bot_id' => long, 'button' => BotMenuButton];