PrivacyKey#
- class pyrogram.raw.base.PrivacyKey#
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.
Whether people can see your bio
Whether this user can be added to our contact list by their phone number
Whether the user can see our birthday.
Whether the user can be invited to chats
Whether messages forwarded from the user will be anonymously forwarded
Who can send you messages without paying, if paid messages are enabled.
Whether the user accepts phone calls
Whether the user allows us to see his phone number
Whether P2P connections in phone calls with this user are allowed
Whether the profile picture of the user is visible
Constructor of
PrivacyKey.Whether received gifts will be automatically displayed on our profile
Whether we can see the last online timestamp of this user.
Whether the user accepts voice messages