updateBotCommands

The command set of a certain bot in a certain chat has changed.

Constructor schema is available as of layer 133. Switch ยป

Parameters

Name Type Description
peer Peer The affected chat
bot_id long ID of the bot that changed its command set
commands Vector<BotCommand> New bot commands

Type

Update

Related pages

Commands

Bots offer a set of commands that can be used by users in private, or in a chat.