I had this message and I disconnected the charger and I left my iPhone for 2 days to dry but still not charging
I had a message that the phone has liquid and I should disconnect the charger so that it can dry so I did so but it’s been more than 5 days and still sometimes charging and sometimes not with a little misfunctioning for the keys.