View Source ExTDLib.Method.ResetAuthenticationEmailAddress (ExTDLib v0.0.4)
Resets the login email address. May return an error with a message "TASK_ALREADY_EXISTS" if reset is still pending. Works only when the current authorization state is authorizationStateWaitEmailCode and authorization_state.can_reset_email_address == true. Returns object_ptr<Ok>.
More details on telegram's documentation.