Raw.UpdateBotCommands

Raw.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;
export namespace Raw {
  export class UpdateBotCommands {
    constructor(params: {
      peer: Raw.TypePeer;
      botId: bigint;
      commands: Array<Raw.TypeBotCommand>;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x4d712f2e

Property