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: 201
Constructor ID: 0x517165a
Property
scope: Raw.TypeBotCommandScopeCommand scope
langCode: stringLanguage code
commands: Array of Raw.TypeBotCommandBot commands