Interface ResendAuthenticationCode

Resends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitCode, authorization_state.code_info.next_type 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 for code resending; pass null if unknown.