Skip to content

InputIdentityDocument

Type · TDLib 1.8.67 · d1085f9c

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

Date

Document expiration date; pass null if not applicable

front_side

InputFile

Front side of the document

reverse_side

InputFile

Reverse side of the document; only for driver license and identity card; pass null otherwise

selfie

InputFile

Selfie with the document; pass null if unavailable

translation

list of InputFile

List of files containing a certified English translation of the document