Have done this with airpods before, best chance of survival is putting it in a bowl ( with a lid) of rice for 2 days. Worked for me.
open