PrivacyRule#
- class pyrogram.raw.base.PrivacyRule#
Privacy rules together with privacy keys indicate what can or can’t someone do and are specified by a PrivacyRule constructor, and its input counterpart InputPrivacyRule.
- Constructors:
This base type has 8 constructors available.
Allow all users.
Allow all participants of certain chats.
Allow all contacts.
Allow only certain users.
Disallow all users.
Disallow only participants of certain chats.
Disallow only contacts.
Disallow only certain users.