InputPrivacyRule#
- class pyrogram.raw.base.InputPrivacyRule#
Privacy rules indicate who can or can’t do something and are specified by a PrivacyRule, and its input counterpart InputPrivacyRule.
- Constructors:
This base type has 10 constructors available.
Allow all users
Allow only participants of certain chats
Allow only close friends »
Allow only contacts
Allow only users with a Premium subscription », currently only usable for inputPrivacyKeyChatInvite.
Allow only certain users
Disallow all
Disallow only participants of certain chats
Disallow only contacts
Disallow only certain users