Raw.bots.SetBotCommands

Raw.bots.SetBotCommands

Set bot command list

bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;
export namespace Raw {
  export namespace bots {
    export class SetBotCommands {
      constructor(params: {
        scope: Raw.TypeBotCommandScope;
        langCode: string;
        commands: Array<Raw.TypeBotCommand>;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x517165a

Property

Results

boolean

Bots can use