PrivacyRule#

class pyrogram.raw.base.PrivacyRule#

Privacy rule.

Constructors:

This base type has 8 constructors available.

PrivacyValueAllowAll

Allow all users.

PrivacyValueAllowChatParticipants

Allow all participants of certain chats.

PrivacyValueAllowContacts

Allow all contacts.

PrivacyValueAllowUsers

Allow only certain users.

PrivacyValueDisallowAll

Disallow all users.

PrivacyValueDisallowChatParticipants

Disallow only participants of certain chats.

PrivacyValueDisallowContacts

Disallow only contacts.

PrivacyValueDisallowUsers

Disallow only certain users.