updateBotCommands

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

updateBotCommands#4d712f2e peer:Peer bot_id:long 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.