View Source ExTDLib.Method.ResendAuthenticationCode (ExTDLib v0.0.4)

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. Returns object_ptr<Ok>.

More details on telegram's documentation.