Layer 224
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:
InputPrivacyKeyChatInvite
Whether people will be able to invite you to chats
InputPrivacyKeyStatusTimestamp
Whether people will be able to see our exact last online timestamp.
InputPrivacyKeyPhoneCall
Whether you will accept phone calls
InputPrivacyKeyPhoneP2P
Whether to allow P 2 P communication during Vo IP calls
InputPrivacyKeyAddedByPhone
Whether people can add you to their contact list by your phone number
InputPrivacyKeyForwards
Whether messages forwarded from you will be anonymous
InputPrivacyKeyPhoneNumber
Whether people will be able to see your phone number
InputPrivacyKeyVoiceMessages
Whether people can send you voice messages or round videos ( Premium users only).
InputPrivacyKeyAbout
Whether people can see your bio
InputPrivacyKeyBirthday
Whether the user can see our birthday.
InputPrivacyKeyNoPaidMessages
Who can send you messages without paying, if paid messages are enabled.
InputPrivacyKeyProfilePhoto
Whether people will be able to see your profile picture
InputPrivacyKeySavedMusic
Layer 223 1 – Base layer 2 – New userpic notifications 3 – Send message can trigger link change 4 –
InputPrivacyKeyStarGiftsAutoSave
Whether received gifts will be automatically displayed on our profile
Gogram Example
// InputPrivacyKey is an interface type // You can use any of the following constructors: var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyChatInvite{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyStatusTimestamp{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyPhoneCall{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyPhoneP2P{} var _ tg.InputPrivacyKey = &tg.InputPrivacyKeyAddedByPhone{} // ... and 9 more constructors