Obtain a list of bot commands for the specified bot scope and language code
---functions---
bots.getBotCommands#e34c0dd6 scope:BotCommandScope lang_code:string = Vector<BotCommand>;
Name | Type | Description |
---|---|---|
scope | BotCommandScope | Command scope |
lang_code | string | Language code |
Code | Type | Description |
---|---|---|
400 | USER_BOT_INVALID | This method can only be called by a bot. |