PrivacyKey

class pyrogram.enums.PrivacyKey

Privacy key enumeration used in set_privacy().

ABOUT = <class 'pyrogram.raw.types.input_privacy_key_about.InputPrivacyKeyAbout'>

Whether people can see your bio

ADDED_BY_PHONE = <class 'pyrogram.raw.types.input_privacy_key_added_by_phone.InputPrivacyKeyAddedByPhone'>

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

BIRTHDAY = <class 'pyrogram.raw.types.input_privacy_key_birthday.InputPrivacyKeyBirthday'>

Whether the user can see our birthday.

CHAT_INVITE = <class 'pyrogram.raw.types.input_privacy_key_chat_invite.InputPrivacyKeyChatInvite'>

Whether people will be able to invite you to chats

FORWARDS = <class 'pyrogram.raw.types.input_privacy_key_forwards.InputPrivacyKeyForwards'>

Whether messages forwarded from you will be anonymous

PHONE_CALL = <class 'pyrogram.raw.types.input_privacy_key_phone_call.InputPrivacyKeyPhoneCall'>

Whether you will accept phone calls

PHONE_NUMBER = <class 'pyrogram.raw.types.input_privacy_key_phone_number.InputPrivacyKeyPhoneNumber'>

Whether people will be able to see your phone number

PHONE_P2P = <class 'pyrogram.raw.types.input_privacy_key_phone_p2_p.InputPrivacyKeyPhoneP2P'>

Whether to allow P2P communication during VoIP calls

PROFILE_PHOTO = <class 'pyrogram.raw.types.input_privacy_key_profile_photo.InputPrivacyKeyProfilePhoto'>

Whether people will be able to see your profile picture

STATUS = <class 'pyrogram.raw.types.input_privacy_key_status_timestamp.InputPrivacyKeyStatusTimestamp'>

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

VOICE_MESSAGES = <class 'pyrogram.raw.types.input_privacy_key_voice_messages.InputPrivacyKeyVoiceMessages'>

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