BotCommandScope¶
- class aiogram.types.bot_command_scope.BotCommandScope(**extra_data: Any)[source]¶
This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported:
aiogram.types.bot_command_scope_default.BotCommandScopeDefaultaiogram.types.bot_command_scope_all_private_chats.BotCommandScopeAllPrivateChatsaiogram.types.bot_command_scope_all_group_chats.BotCommandScopeAllGroupChatsaiogram.types.bot_command_scope_all_chat_administrators.BotCommandScopeAllChatAdministratorsaiogram.types.bot_command_scope_chat_administrators.BotCommandScopeChatAdministratorsaiogram.types.bot_command_scope_chat_member.BotCommandScopeChatMember