account.PrivacyRules#
- class pyrogram.raw.types.account.PrivacyRules#
Privacy rules.
Constructor of
PrivacyRules.- Details:
Layer:
158ID:
50A04E45
- Parameters:
rules (List of
PrivacyRule) – Privacy rules.chats (List of
Chat) – Chats to which the rules apply.users (List of
User) – Users to which the rules apply.
- Functions:
This object can be returned by 2 functions.
Get privacy settings of current account.
Change privacy settings of current account.