# Uses of Class
it.tdlight.jni.TdApi.PassportElementType

## Uses of TdApi.PassportElementType in it.tdlight.jni

Subclasses of TdApi.PassportElementType in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.PassportElementTypeAddress`
A Telegram Passport element containing the user's address.
`static final class`
`TdApi.PassportElementTypeBankStatement`
A Telegram Passport element containing the user's bank statement.
`static final class`
`TdApi.PassportElementTypeDriverLicense`
A Telegram Passport element containing the user's driver license.
`static final class`
`TdApi.PassportElementTypeEmailAddress`
A Telegram Passport element containing the user's email address.
`static final class`
`TdApi.PassportElementTypeIdentityCard`
A Telegram Passport element containing the user's identity card.
`static final class`
`TdApi.PassportElementTypeInternalPassport`
A Telegram Passport element containing the user's internal passport.
`static final class`
`TdApi.PassportElementTypePassport`
A Telegram Passport element containing the user's passport.
`static final class`
`TdApi.PassportElementTypePassportRegistration`
A Telegram Passport element containing the registration page of the user's passport.
`static final class`
`TdApi.PassportElementTypePersonalDetails`
A Telegram Passport element containing the user's personal details.
`static final class`
`TdApi.PassportElementTypePhoneNumber`
A Telegram Passport element containing the user's phone number.
`static final class`
`TdApi.PassportElementTypeRentalAgreement`
A Telegram Passport element containing the user's rental agreement.
`static final class`
`TdApi.PassportElementTypeTemporaryRegistration`
A Telegram Passport element containing the user's temporary registration.
`static final class`
`TdApi.PassportElementTypeUtilityBill`
A Telegram Passport element containing the user's utility bill.
Fields in it.tdlight.jni declared as TdApi.PassportElementType
Modifier and Type
Field
Description
`TdApi.PassportElementType`
TdApi.DeletePassportElement.`type`
Element type.
`TdApi.PassportElementType`
TdApi.EncryptedPassportElement.`type`
Type of Telegram Passport element.
`TdApi.PassportElementType`
TdApi.GetPassportElement.`type`
Telegram Passport element type.
`TdApi.PassportElementType`
TdApi.InputPassportElementError.`type`
Type of Telegram Passport element that has the error.
`TdApi.PassportElementType`
TdApi.PassportElementError.`type`
Type of the Telegram Passport element which has the error.
`TdApi.PassportElementType`
TdApi.PassportSuitableElement.`type`
Type of the element.
`TdApi.PassportElementType[]`
TdApi.MessagePassportDataSent.`types`
List of Telegram Passport element types sent.
`TdApi.PassportElementType[]`
TdApi.SendPassportAuthorizationForm.`types`
Types of Telegram Passport elements chosen by user to complete the authorization form.
Constructors in it.tdlight.jni with parameters of type TdApi.PassportElementType
Modifier
Constructor
Description
``
`DeletePassportElement(TdApi.PassportElementType type)`
Deletes a Telegram Passport element.
``
`EncryptedPassportElement(TdApi.PassportElementType type, byte[] data, TdApi.DatedFile frontSide, TdApi.DatedFile reverseSide, TdApi.DatedFile selfie, TdApi.DatedFile[] translation, TdApi.DatedFile[] files, String value, String hash)`
Contains information about an encrypted Telegram Passport element; for bots only.
``
`GetPassportElement(TdApi.PassportElementType type, String password)`
Returns one of the available Telegram Passport elements.
``
`InputPassportElementError(TdApi.PassportElementType type, String message, TdApi.InputPassportElementErrorSource source)`
Contains the description of an error in a Telegram Passport element; for bots only.
``
`MessagePassportDataSent(TdApi.PassportElementType[] types)`
Telegram Passport data has been sent.
``
`PassportElementError(TdApi.PassportElementType type, String message, TdApi.PassportElementErrorSource source)`
Contains the description of an error in a Telegram Passport element.
``
`PassportSuitableElement(TdApi.PassportElementType type, boolean isSelfieRequired, boolean isTranslationRequired, boolean isNativeNameRequired)`
Contains information about a Telegram Passport element that was requested by a service.
``
`SendPassportAuthorizationForm(int autorizationFormId, TdApi.PassportElementType[] types)`
Sends a Telegram Passport authorization form, effectively sharing data with the service.