Dry it out for a lot longer than a day - if it was just water then I think you have a good chance of it being fine. Water itself won't cause issues - its the resulting corrosion from being improperly dried that kills it.
Don't bother putting it in rice - not a lot of moisture is absorbed.
Instead, place it somewhere very warm, dry and ideally with good airflow. You need to be evaporating the water inside, then replacing that moist air with dryer air.
Leave for as long as possible - a week if you can.
I once had a mate who spilt a cup of milo into a laptop keyboard. There was so much that it flowed through the keyboard and the cooling fan was pumping it out the side. I took it apart, cleaned it and sprayed it with isopropyl alcohol cleaner. After letting it dry out for a week on top of a old hot running amplifier, it went back together and worked for many years.