Skip to main content

InputPrivacyKey

This is a boxed type (a TL class): the Go interface tg.InputPrivacyKeyClass, implemented by the constructors below. A value of this type is one of them — switch on the concrete type to handle it.

switch v := value.(type) {
case *tg.InputPrivacyKeyAbout: // inputPrivacyKeyAbout
case *tg.InputPrivacyKeyAddedByPhone: // inputPrivacyKeyAddedByPhone
case *tg.InputPrivacyKeyBirthday: // inputPrivacyKeyBirthday
case *tg.InputPrivacyKeyChatInvite: // inputPrivacyKeyChatInvite
case *tg.InputPrivacyKeyForwards: // inputPrivacyKeyForwards
case *tg.InputPrivacyKeyNoPaidMessages: // inputPrivacyKeyNoPaidMessages
case *tg.InputPrivacyKeyPhoneCall: // inputPrivacyKeyPhoneCall
case *tg.InputPrivacyKeyPhoneNumber: // inputPrivacyKeyPhoneNumber
case *tg.InputPrivacyKeyPhoneP2P: // inputPrivacyKeyPhoneP2P
case *tg.InputPrivacyKeyProfilePhoto: // inputPrivacyKeyProfilePhoto
case *tg.InputPrivacyKeySavedMusic: // inputPrivacyKeySavedMusic
case *tg.InputPrivacyKeyStarGiftsAutoSave: // inputPrivacyKeyStarGiftsAutoSave
case *tg.InputPrivacyKeyStatusTimestamp: // inputPrivacyKeyStatusTimestamp
case *tg.InputPrivacyKeyVoiceMessages: // inputPrivacyKeyVoiceMessages
}

Constructors

ConstructorTL name
InputPrivacyKeyAboutinputPrivacyKeyAbout
InputPrivacyKeyAddedByPhoneinputPrivacyKeyAddedByPhone
InputPrivacyKeyBirthdayinputPrivacyKeyBirthday
InputPrivacyKeyChatInviteinputPrivacyKeyChatInvite
InputPrivacyKeyForwardsinputPrivacyKeyForwards
InputPrivacyKeyNoPaidMessagesinputPrivacyKeyNoPaidMessages
InputPrivacyKeyPhoneCallinputPrivacyKeyPhoneCall
InputPrivacyKeyPhoneNumberinputPrivacyKeyPhoneNumber
InputPrivacyKeyPhoneP2PinputPrivacyKeyPhoneP2P
InputPrivacyKeyProfilePhotoinputPrivacyKeyProfilePhoto
InputPrivacyKeySavedMusicinputPrivacyKeySavedMusic
InputPrivacyKeyStarGiftsAutoSaveinputPrivacyKeyStarGiftsAutoSave
InputPrivacyKeyStatusTimestampinputPrivacyKeyStatusTimestamp
InputPrivacyKeyVoiceMessagesinputPrivacyKeyVoiceMessages

References