CommandSet¶
CommandSet
dataclass
¶
Command stored in PyroClient's 'commands' attribute.
Attributes:
| Name | Type | Description |
|---|---|---|
commands |
list[BotCommand]
|
List of all commands in the command set. |
scope |
BotCommandScopeDefault | BotCommandScopeAllPrivateChats | BotCommandScopeAllGroupChats | BotCommandScopeAllChatAdministrators | BotCommandScopeChat | BotCommandScopeChatAdministrators | BotCommandScopeChatMember
|
Scope of the command set. Defaults to |
language_code |
str
|
Language code of the command set. Defaults to |