Constructor: updateBotCommands
The command set of a certain bot in a certain chat has changed.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | long | Yes | The affected chat |
bot_id | long | Yes | ID of the bot that changed its command set |
commands | Array of BotCommand | Yes | New bot commands |
Type: Update
Example:
$updateBotCommands = ['_' => 'updateBotCommands', 'peer' => long, 'bot_id' => long, 'commands' => [BotCommand, BotCommand]];