PrivacyKey

class pyrogram.raw.base.PrivacyKey

Privacy keys together with privacy rules » indicate what can or can’t someone do and are specified by a PrivacyKey constructor, and its input counterpart InputPrivacyKey.

Constructors:

This base type has 12 constructors available.

PrivacyKeyAbout

Whether people can see your bio

PrivacyKeyAddedByPhone

Whether this user can be added to our contact list by their phone number

PrivacyKeyBirthday

{schema}

PrivacyKeyChatInvite

Whether the user can be invited to chats

PrivacyKeyForwards

Whether messages forwarded from the user will be anonymously forwarded

PrivacyKeyPhoneCall

Whether the user accepts phone calls

PrivacyKeyPhoneNumber

Whether the user allows us to see his phone number

PrivacyKeyPhoneP2P

Whether P2P connections in phone calls with this user are allowed

PrivacyKeyProfilePhoto

Whether the profile picture of the user is visible

PrivacyKeyStarGiftsAutoSave

Telegram API type.

PrivacyKeyStatusTimestamp

Whether we can see the last online timestamp of this user

PrivacyKeyVoiceMessages

Whether the user accepts voice messages