InputPrivacyKey#

class pyrogram.raw.base.InputPrivacyKey#

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 11 constructors available.

InputPrivacyKeyAbout

Whether people can see your bio

InputPrivacyKeyAddedByPhone

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

InputPrivacyKeyBirthday

Whether the user can see our birthday.

InputPrivacyKeyChatInvite

Whether people will be able to invite you to chats

InputPrivacyKeyForwards

Whether messages forwarded from you will be anonymous

InputPrivacyKeyPhoneCall

Whether you will accept phone calls

InputPrivacyKeyPhoneNumber

Whether people will be able to see your phone number

InputPrivacyKeyPhoneP2P

Whether to allow P2P communication during VoIP calls

InputPrivacyKeyProfilePhoto

Whether people will be able to see your profile picture

InputPrivacyKeyStatusTimestamp

Whether people will be able to see our exact last online timestamp.

InputPrivacyKeyVoiceMessages

Whether people can send you voice messages or round videos (Premium users only).