Skip to content

resendPhoneNumberCode

Function · TDLib 1.8.67 · d1085f9c

Resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo next_code_type was not null and the server-specified timeout has passed

resendPhoneNumberCode(
  reason: ResendCodeReason
) → AuthenticationCodeInfo

reason

ResendCodeReason

Reason of code resending; pass null if unknown