bots.getBotCommands #

Obtain a list of bot commands for the specified bot scope and language code

Layer 223

---functions---
bots.getBotCommands#e34c0dd6 scope:BotCommandScope lang_code:string = Vector<BotCommand>;

Parameters #

NameTypeDescription
scopeBotCommandScopeCommand scope
lang_codestringLanguage code

Result #

Vector<BotCommand>

Only bots can use this method #

Possible errors #

CodeTypeDescription
400USER_BOT_REQUIREDThis method can only be called by a bot.