Interface GetPassportElement

Returns one of the available Telegram Passport elements. Request type for Tdjson#getPassportElement.

interface GetPassportElement {
    @type: "getPassportElement";
    password: string;
    type: PassportElementType;
}

Properties

Properties

@type: "getPassportElement"
password: string

The 2-step verification password of the current user.

Telegram Passport element type.