Interface PassportElementError

Contains the description of an error in a Telegram Passport element.

interface PassportElementError {
    @type: "passportElementError";
    message: string;
    source: PassportElementErrorSource;
    type: PassportElementType;
}

Properties

@type: "passportElementError"
message: string

Error message.

Error source.

Type of the Telegram Passport element which has the error.