updateBotCommands #

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

Layer 223

updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand> = Update;

Parameters #

NameTypeDescription
peerPeerThe affected chat
bot_idlongID of the bot that changed its command set
commandsVector<BotCommand>New bot commands

Type #

Update

Bot commands #

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