Interface GetPassportAuthorizationForm

Returns a Telegram Passport authorization form for sharing data with a service. Request type for Tdjson#getPassportAuthorizationForm.

interface GetPassportAuthorizationForm {
    @type: "getPassportAuthorizationForm";
    bot_user_id: number;
    nonce: string;
    public_key: string;
    scope: string;
}

Properties

@type: "getPassportAuthorizationForm"
bot_user_id: number

User identifier of the service's bot.

nonce: string

Unique request identifier provided by the service.

public_key: string

Service's public key.

scope: string

Telegram Passport element types requested by the service.