InputIdentityDocument
public struct InputIdentityDocument : Codable, Equatable, FunctionResult
An identity document to be saved to Telegram Passport
-
Document number; 1-24 characters
Declaration
Swift
public let number: String -
Document expiry date, if available
Declaration
Swift
public let expiryDate: Date -
Front side of the document
Declaration
Swift
public let frontSide: InputFile -
Reverse side of the document; only for driver license and identity card
Declaration
Swift
public let reverseSide: InputFile -
Selfie with the document, if available
Declaration
Swift
public let selfie: InputFile -
List of files containing a certified English translation of the document
Declaration
Swift
public let translation: [InputFile] -
An identity document to be saved to Telegram Passport
Declaration
Parameters
numberDocument number; 1-24 characters
expiryDateDocument expiry date, if available
frontSideFront side of the document
reverseSideReverse side of the document; only for driver license and identity card
selfieSelfie with the document, if available
translationList of files containing a certified English translation of the document
View on GitHub
Install in Dash
InputIdentityDocument Structure Reference