As said if you turn it on it will shot circuit itself, even if you try to turn it on and nothing seems to happen…I went swimming in a lake with my samsung camera in my pocket for a good 2 mins before I realised and…it still worked after.
Take off all the covers, the battery etc and put it somewhere hot, direct sunlight works but it also scorches the inside parts, best an airing cupboard if you have one.
See if you have any of those silicone packs from when you buy shoes about, you might have some in a shoe box who knows put it with them and leave in a hot dry place.
My camera did work after but it eventually broke sent it for repair and samsung fixed it, was some seized cogs in the zoom no other damage so maybe you’ll be ok?!