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. See the privacy documentation for more info.

Telegram allows users to specify granular privacy settings, choosing which users can or can’t interact with them in certain ways. 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. See the privacy documentation for more info.

Constructors:

This base type has 14 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

InputPrivacyKeyNoPaidMessages

Who can send you messages without paying, if paid messages are enabled.

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

InputPrivacyKeySavedMusic

Constructor of InputPrivacyKey.

InputPrivacyKeyStarGiftsAutoSave

Whether received gifts will be automatically displayed on our profile

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).