BotCommandScopeType¶
- class aiogram.enums.bot_command_scope_type.BotCommandScopeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
This object represents the scope to which bot commands are applied.
Source: https://core.telegram.org/bots/api#botcommandscope
- DEFAULT = 'default'¶
- ALL_PRIVATE_CHATS = 'all_private_chats'¶
- ALL_GROUP_CHATS = 'all_group_chats'¶
- ALL_CHAT_ADMINISTRATORS = 'all_chat_administrators'¶
- CHAT = 'chat'¶
- CHAT_ADMINISTRATORS = 'chat_administrators'¶
- CHAT_MEMBER = 'chat_member'¶