mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 01:06:25 +00:00
17 lines
488 B
YAML
17 lines
488 B
YAML
|
|
name: BotCommandScopeType
|
||
|
|
description: |
|
||
|
|
This object represents the scope to which bot commands are applied.
|
||
|
|
|
||
|
|
Source: https://core.telegram.org/bots/api#botcommandscope
|
||
|
|
multi_parse:
|
||
|
|
attribute: type
|
||
|
|
regexp: "must be ([a-z_]+)"
|
||
|
|
entities:
|
||
|
|
- BotCommandScopeDefault
|
||
|
|
- BotCommandScopeAllPrivateChats
|
||
|
|
- BotCommandScopeAllGroupChats
|
||
|
|
- BotCommandScopeAllChatAdministrators
|
||
|
|
- BotCommandScopeChat
|
||
|
|
- BotCommandScopeChatAdministrators
|
||
|
|
- BotCommandScopeChatMember
|