Interface ResendAuthenticationCode

Resends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitCode, the next_code_type of the result is not null and the server-specified timeout has passed, or when the current authorization state is authorizationStateWaitEmailCode. Request type for Tdjson#resendAuthenticationCode.

interface ResendAuthenticationCode {
    @type: "resendAuthenticationCode";
    reason: ResendCodeReason;
}

Properties

Properties

@type: "resendAuthenticationCode"

Reason of code resending; pass null if unknown.