Interface PassportSuitableElement

Contains information about a Telegram Passport element that was requested by a service.

interface PassportSuitableElement {
    @type: "passportSuitableElement";
    is_native_name_required?: boolean;
    is_selfie_required?: boolean;
    is_translation_required?: boolean;
    type: PassportElementType;
}

Properties

@type: "passportSuitableElement"
is_native_name_required?: boolean

True, if personal details must include the user's name in the language of their country of residence.

is_selfie_required?: boolean

True, if a selfie is required with the identity document.

is_translation_required?: boolean

True, if a certified English translation is required with the document.

Type of the element.