BotAccessSettings¶
- class aiogram.types.bot_access_settings.BotAccessSettings(*, is_access_restricted: bool, added_users: list[User] | None = None, **extra_data: Any)[source]¶
This object describes the access settings of a bot.
Source: https://core.telegram.org/bots/api#botaccesssettings
- is_access_restricted: bool¶
True, if only selected users can access the bot. The bot’s owner can always access it.