UpdateBotCommands

A bot’s list of commands changed. User-only.

client.on("botCommands", (ctx) => {
  // ctx.update.botCommands
});

Properties

type: "botCommands"
botCommands: BotCommands

The new command list.