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

Removes 2-step verification password without previous password and access to recovery email address. The password can't be reset immediately and the request needs to be repeated after the specified time. Returns object_ptr<ResetPasswordResult>.

More details on telegram's documentation.