Yeah there are a lot of recommendations to place in rice, but if it does anything it's barely so. The other thing about rice is that it has dust that can become sticky when it mixes with water. What would work much better is to have it cleaned out ASAP with something like an ultrasonic cleaner/dryer. Short of that surrounded by a desiccant (silica gel) until it can be replaced.
If there's internal liquid damage, it's probably not anything that you can rely on long term. They only seem to get worse over time. The best thing to do is back it up if you can. The only reason for repairing a water damaged board would be to extract data that hasn't been backed up.
Of course there's the possibility that nothing happened and the seals kept out the liquid. I've gotten my iPhone 7 somewhat wet before, and so far it's fine. The external LCI hasn't triggered yet. But I understand maybe I'm not so lucky again.