Dropped my IPhone in water but it still worked. Will it be ok?

It fell in my sink and I grabbed it out of there in no more than 2 seconds. I wiped it dry and immediately grabbed my vaccum cleaner and used the tube part to suck up any excess water. I started testing it out. Everything worked fine. The camera, the screen, texting all worked normal. But I submerged it in a plastic bowl full of rice and closed the lid just in case. WIll my phones still be ok? Or is it ruined? How long do I leave it in rice? I'm such as an idiot… I'm worried now

Put it in a bag of white rice that will dry out all of the moisture

I did the same. Put it in rice for a couple of days it should work fine. (any rice will do)