Raw.bots.GetBotCommands
Obtain a list of bot commands for the specified bot scope and language code
bots.getBotCommands#e34c0dd6 scope:BotCommandScope lang_code:string = Vector<BotCommand>;
export namespace Raw {
export namespace bots {
export class GetBotCommands {
constructor(params: { scope: Raw.TypeBotCommandScope; langCode: string }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xe34c0dd6
Property
scope
: Raw.TypeBotCommandScopeCommand scope
langCode
: stringLanguage code