bots.AccessSettings¶
- class pyrogram.raw.types.bots.AccessSettings[source]¶
Access restriction settings for a managed bot ».
Constructor of
AccessSettings.- Details:
Layer:
229ID:
DD1FBF93
- Parameters:
restricted (
bool, optional) – If set, only the owner and the users inadd_userscan access the managed botadd_users (List of
User, optional) – Additional users (max 10, excluding the owner) who can access the managed bot; only present whenrestrictedis set
- Functions:
This object can be returned by 1 function.
Get the access restriction settings » of a managed bot; can only be called by the manager bot.