InputIdentityDocument¶
An identity document to be saved to Telegram Passport
InputIdentityDocument(
number: string,
expiration_date: Date,
front_side: InputFile,
reverse_side: InputFile,
selfie: InputFile,
translation: list of InputFile
) → InputIdentityDocument
number¶
string
Document number; 1-24 characters
expiration_date¶
Document expiration date; pass null if not applicable
front_side¶
Front side of the document
reverse_side¶
Reverse side of the document; only for driver license and identity card; pass null otherwise
selfie¶
Selfie with the document; pass null if unavailable
translation¶
list of InputFile
List of files containing a certified English translation of the document