telegram api type · layer 229
BotCommandScope
Represents a scope where the bot commands, specified using bots.setBotCommands will be valid.
constructors (7)
| constructor | id | description |
|---|---|---|
| botCommandScopeDefault | #2f6cb2ab | The commands will be valid in all dialogs |
| botCommandScopeUsers | #3c4f04d8 | The specified bot commands will only be valid in all private chats with users. |
| botCommandScopeChats | #6fe1a881 | The specified bot commands will be valid in all groups and supergroups. |
| botCommandScopeChatAdmins | #b9aa606a | The specified bot commands will be valid only for chat administrators, in all groups and supergroups. |
| botCommandScopePeer | #db9d897d | The specified bot commands will be valid only in a specific dialog. |
| botCommandScopePeerAdmins | #3fd863d1 | The specified bot commands will be valid for all admins of the specified group or supergroup. |
| botCommandScopePeerUser | #0a1321f3 | The specified bot commands will be valid only for a specific user in the specified group or supergroup. |