Interface CheckAuthenticationWebToken

Checks a web token to log in to the corresponding account; for official Telegram apps only. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation. Request type for Tdjson#checkAuthenticationWebToken.

interface CheckAuthenticationWebToken {
    @type: "checkAuthenticationWebToken";
    dc_id: number;
    token: string;
}

Properties

Properties

@type: "checkAuthenticationWebToken"
dc_id: number

Identifier of the datacenter of the user.

token: string

The token to check.