Arduino - WhatsApp/Telegram

Welcome to the forum!

I've not actually done it but if you search for "Whatsapp API" you might find something useful.

IFTTT has a telegram channel that you can maybe use? Telegram Integrations - Connect Your Apps with IFTTT

One issue I have found is that the ESP8266 support for https:// seems quite unreliable so you may need an additional service to turn http:// into https://