Interface InputIdentityDocument

An identity document to be saved to Telegram Passport.

interface InputIdentityDocument {
    @type: "inputIdentityDocument";
    expiration_date: Date;
    front_side: InputFile;
    number: string;
    reverse_side: InputFile;
    selfie: InputFile;
    translation: InputFile[];
}

Properties

@type: "inputIdentityDocument"
expiration_date: Date

Document expiration date; pass null if not applicable.

front_side: InputFile

Front side of the document.

number: string

Document number; 1-24 characters.

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: InputFile[]

List of files containing a certified English translation of the document.