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

InputPrivacyKeyAbout

Whether people can see your bio

InputPrivacyKeyAddedByPhone

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

InputPrivacyKeyBirthday

{schema}

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

InputPrivacyKeyStarGiftsAutoSave

Telegram API type.

InputPrivacyKeyStatusTimestamp

Whether people will be able to see your exact last online timestamp

InputPrivacyKeyVoiceMessages

Whether people can send you voice messages