Layer 220
InputPrivacyKey
Abstract type representing one of 14 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.InputPrivacyKey interface.
Use any of the following constructors:
InputPrivacyKeyPhoneCall
Whether you will accept phone calls
InputPrivacyKeyStatusTimestamp
Whether people will be able to see our exact last online timestamp.
InputPrivacyKeyChatInvite
Whether people will be able to invite you to chats
InputPrivacyKeyPhoneP2P
Whether to allow P 2 P communication during Vo IP calls
InputPrivacyKeyForwards
Whether messages forwarded from you will be anonymous
InputPrivacyKeyProfilePhoto
Whether people will be able to see your profile picture
InputPrivacyKeyPhoneNumber
Whether people will be able to see your phone number
InputPrivacyKeyAbout
Whether people can see your bio
InputPrivacyKeyVoiceMessages
Whether people can send you voice messages or round videos ( Premium users only).
InputPrivacyKeyBirthday
Whether the user can see our birthday.
InputPrivacyKeyAddedByPhone
Whether people can add you to their contact list by your phone number
InputPrivacyKeyStarGiftsAutoSave
Whether received gifts will be automatically displayed on our profile
InputPrivacyKeySavedMusic
No description
InputPrivacyKeyNoPaidMessages
Who can send you messages without paying, if paid messages are enabled.
Gogram Example
// InputPrivacyKey is an interface type // You can use any of the following constructors: var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyPhoneCall{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyStatusTimestamp{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyChatInvite{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyPhoneP2P{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyForwards{} // ... and 9 more constructors