telegramsjs
    Preparing search index...

    Interface PassportElementErrorDataField

    Represents an issue in one of the data fields provided by the user. The error is considered resolved when the field's value changes.

    interface PassportElementErrorDataField {
        data_hash: string;
        field_name: string;
        message: string;
        source: "data";
        type:
            | "personal_details"
            | "passport"
            | "driver_license"
            | "identity_card"
            | "internal_passport"
            | "address";
    }
    Index

    Properties

    data_hash: string

    Base64-encoded data hash.

    field_name: string

    Name of the data field that has the error.

    message: string

    Error message.

    source: "data"

    Error source, must be "data".

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

    The section of the user's Telegram Passport that has the error. Possible values are "personal_details", "passport", "driver_license", "identity_card", "internal_passport", and "address".