PassportElement
public indirect enum PassportElement : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Contains information about a Telegram Passport element
-
A Telegram Passport element containing the user’s personal details
- personalDetails: Personal details of the user
Declaration
Swift
case personalDetails(personalDetails: PersonalDetails)
-
A Telegram Passport element containing the user’s passport
- passport: Passport
Declaration
Swift
case passport(passport: IdentityDocument)
-
A Telegram Passport element containing the user’s driver license
- driverLicense: Driver license
Declaration
Swift
case driverLicense(driverLicense: IdentityDocument)
-
A Telegram Passport element containing the user’s identity card
- identityCard: Identity card
Declaration
Swift
case identityCard(identityCard: IdentityDocument)
-
A Telegram Passport element containing the user’s internal passport
- internalPassport: Internal passport
Declaration
Swift
case internalPassport(internalPassport: IdentityDocument)
-
A Telegram Passport element containing the user’s address
- address: Address
Declaration
Swift
case address(address: Address)
-
A Telegram Passport element containing the user’s utility bill
- utilityBill: Utility bill
Declaration
Swift
case utilityBill(utilityBill: PersonalDocument)
-
A Telegram Passport element containing the user’s bank statement
- bankStatement: Bank statement
Declaration
Swift
case bankStatement(bankStatement: PersonalDocument)
-
A Telegram Passport element containing the user’s rental agreement
- rentalAgreement: Rental agreement
Declaration
Swift
case rentalAgreement(rentalAgreement: PersonalDocument)
-
A Telegram Passport element containing the user’s passport registration pages
- passportRegistration: Passport registration pages
Declaration
Swift
case passportRegistration(passportRegistration: PersonalDocument)
-
A Telegram Passport element containing the user’s temporary registration
- temporaryRegistration: Temporary registration
Declaration
Swift
case temporaryRegistration(temporaryRegistration: PersonalDocument)
-
A Telegram Passport element containing the user’s phone number
- phoneNumber: Phone number
Declaration
Swift
case phoneNumber(phoneNumber: String)
-
A Telegram Passport element containing the user’s email address
- emailAddress: Email address
Declaration
Swift
case emailAddress(emailAddress: String)