Skip to content

resendAuthenticationCode

Function · TDLib 1.8.67 · d1085f9c

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

resendAuthenticationCode(
  reason: ResendCodeReason
) → Ok

reason

ResendCodeReason

Reason of code resending; pass null if unknown