Page 1 of 1

[Feature Request] Add Telegram as Services Option

Posted: Fri Oct 08, 2021 7:06 pm
by lightmaster
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/

Re: [Feature Request] Add Telegram as Services Option

Posted: Sun Oct 10, 2021 5:34 pm
by admin
Thanks for providing the idea and the link. I will have a look at it the next days.