Interface PassportElementErrorSelfie

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.

interface PassportElementErrorSelfie {
    file_hash: string;
    message: string;
    source: "selfie";
    type: "passport" | "driver_license" | "identity_card" | "internal_passport";
}

Properties

file_hash: string

Base64-encoded hash of the file with the selfie

message: string

Error message

source: "selfie"

Error source, must be selfie

type: "passport" | "driver_license" | "identity_card" | "internal_passport"

The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”