PrivacyKey

class pyrogram.raw.base.PrivacyKey

Privacy key.

Constructors

This base type has 8 constructors available.

PrivacyKeyAddedByPhone

Whether people can add you to their contact list by your phone number.

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 are allowed.

PrivacyKeyProfilePhoto

Whether the profile picture of the user is visible.

PrivacyKeyStatusTimestamp

Whether we can see the last online timestamp.