Interface InputPassportElementError

Contains the description of an error in a Telegram Passport element; for bots only.

interface InputPassportElementError {
    @type: "inputPassportElementError";
    message: string;
    source: InputPassportElementErrorSource;
    type: PassportElementType;
}

Properties

@type: "inputPassportElementError"
message: string

Error message.

Error source.

Type of Telegram Passport element that has the error.