UpdateBotCommands

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

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

Properties

botCommands: BotCommands
DISCRIMINATOR

The new command list.