Would it be possible to add Telegram as a predefined Service? It would essentially be a shortcut for creating a HTTP request to
Code: Select all
https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<CHAT_ID>&text=<MESSAGE>
On the Service Settings page, it would need a text box for adding your Telegram Bot's Token and the Chat ID that you want to send messages to. On the Events Page, instead of the URL text box from the HTTP Request Service, it would need a multi-line text box, and the message entered there would be encoded to URL format (ie, space becomes `%20` and newline becomes `%0A`).
Decent instructions for creating a Telegram Bot and finding the chat ID can be found at
https://www.shellhacks.com/telegram-api ... ation-bot/