Interface PassportElementErrorReverseSide

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

interface PassportElementErrorReverseSide {
    file_hash: string;
    message: string;
    source: "reverse_side";
    type: "driver_license" | "identity_card";
}

Properties

file_hash: string

Base64-encoded hash of the file with the reverse side of the document.

message: string

Error message.

source: "reverse_side"

Error source, must be "reverse_side".

type: "driver_license" | "identity_card"

The section of the user's Telegram Passport that has the issue. Possible values are "driver_license" and "identity_card".