2 ms·
Dunno how it could be easier than this: curl -X POST \ -H 'Content-Type: application/json' \ -d '{"chat_id": "123456789", "text": "This is a test fro
by theshrike79 6y ago
Dunno how it could be easier than this:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"chat_id": "123456789", "text": "This is a test from curl", "disable_notification": true}' \
https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage
- GekkePrutser 6y agoExactly, this is a great feature for notifications. I use it a lot with my home assistant and other notifications like system management scripts. I even have a MotionEye cam send me little videos when it detects motion. Telegram is amazing for this.