InputPrivacyRule

class pyrogram.raw.base.InputPrivacyRule

Privacy rule.

Constructors

This base type has 8 constructors available.

InputPrivacyValueAllowAll

Allow all users.

InputPrivacyValueAllowChatParticipants

Allow only participants of certain chats.

InputPrivacyValueAllowContacts

Allow only contacts.

InputPrivacyValueAllowUsers

Allow only certain users.

InputPrivacyValueDisallowAll

Disallow all.

InputPrivacyValueDisallowChatParticipants

Disallow only participants of certain chats.

InputPrivacyValueDisallowContacts

Disallow only contacts.

InputPrivacyValueDisallowUsers

Disallow only certain users.