Could you try reinstalling WhatsApp and Telegram and check again?
If the problem still appears, please tell us the app versions of these two apps.
When listening to voice messages in WhatsApp and Telegram does any sound come from the phone? Is the sound played by the speaker?
When connecting to Bluetooth earphone, is there sound coming from the earphone and the speaker? Or only from the speaker?
Thank you 🙂