BotAccessSettings¶
- class pyrogram.types.BotAccessSettings
Bases:
ObjectThis object describes the access settings of a bot.
- Parameters:
is_access_restricted (
bool) – True if only selected users can access the bot. The bot’s owner can always access it.added_users (List of
User, optional) – The list of other users who have access to the bot if the access is restricted.