Layer 227
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:
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 P 2 P communication during Vo IP calls
InputPrivacyKeyProfilePhoto
Whether people will be able to see your profile picture
InputPrivacyKeySavedMusic
Whether the user can see the songs we pinned to our profile.
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).
Gogram Example
// InputPrivacyKey is an interface type // You can use any of the following constructors: var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyAbout{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyAddedByPhone{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyBirthday{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyChatInvite{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyForwards{} // ... and 9 more constructors