updateBotCommands

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

updateBotCommands#cf7e0873 peer:Peer bot_id:int commands:Vector<BotCommand> = Update;

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.