InputPassportElement
public indirect enum InputPassportElement : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Contains information about a Telegram Passport element to be saved
-
A Telegram Passport element to be saved containing the user’s personal details
- personalDetails: Personal details of the user
Declaration
Swift
case personalDetails(personalDetails: PersonalDetails)
-
A Telegram Passport element to be saved containing the user’s passport
- passport: The passport to be saved
Declaration
Swift
case passport(passport: InputIdentityDocument)
-
A Telegram Passport element to be saved containing the user’s driver license
- driverLicense: The driver license to be saved
Declaration
Swift
case driverLicense(driverLicense: InputIdentityDocument)
-
A Telegram Passport element to be saved containing the user’s identity card
- identityCard: The identity card to be saved
Declaration
Swift
case identityCard(identityCard: InputIdentityDocument)
-
A Telegram Passport element to be saved containing the user’s internal passport
- internalPassport: The internal passport to be saved
Declaration
Swift
case internalPassport(internalPassport: InputIdentityDocument)
-
A Telegram Passport element to be saved containing the user’s address
- address: The address to be saved
Declaration
Swift
case address(address: Address)
-
A Telegram Passport element to be saved containing the user’s utility bill
- utilityBill: The utility bill to be saved
Declaration
Swift
case utilityBill(utilityBill: InputPersonalDocument)
-
A Telegram Passport element to be saved containing the user’s bank statement
- bankStatement: The bank statement to be saved
Declaration
Swift
case bankStatement(bankStatement: InputPersonalDocument)
-
A Telegram Passport element to be saved containing the user’s rental agreement
- rentalAgreement: The rental agreement to be saved
Declaration
Swift
case rentalAgreement(rentalAgreement: InputPersonalDocument)
-
A Telegram Passport element to be saved containing the user’s passport registration
- passportRegistration: The passport registration page to be saved
Declaration
Swift
case passportRegistration(passportRegistration: InputPersonalDocument)
-
A Telegram Passport element to be saved containing the user’s temporary registration
- temporaryRegistration: The temporary registration document to be saved
Declaration
Swift
case temporaryRegistration(temporaryRegistration: InputPersonalDocument)
-
A Telegram Passport element to be saved containing the user’s phone number
- phoneNumber: The phone number to be saved
Declaration
Swift
case phoneNumber(phoneNumber: String)
-
A Telegram Passport element to be saved containing the user’s email address
- emailAddress: The email address to be saved
Declaration
Swift
case emailAddress(emailAddress: String)