Hi I have the same problem, iPhone 11 max pro, my microphone on iMessage or WhatsApp app doesn’t work, I reset the AirPods Pro several times it didn’t work, if I reboot my iPhone it’ll work for a few times and again go to dry line nothing ...
either the iMessage should be updated or the AirPods firmware