BotCommandScopeDefault¶
- class aiogram.types.bot_command_scope_default.BotCommandScopeDefault(*, type: Literal[BotCommandScopeType.DEFAULT] = BotCommandScopeType.DEFAULT, **extra_data: Any)[source]¶
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.
Source: https://core.telegram.org/bots/api#botcommandscopedefault
- type: Literal[BotCommandScopeType.DEFAULT]¶
Scope type, must be default
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.