resend_authentication_code


Description:

public async Ok resend_authentication_code (ResendCodeReason reason) throws TDLibError

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

Parameters:

reason

Reason of code resending; pass null if unknown