Hello, yes there is a Email2Telegram Bot. So Traccar sends a notification to that bot like (XXXXXXXX@e2t.link) and the bot sends that mail as a telegram message to me.
That bot is not perfect. You have to use regular expressions to skip some headers and junk stuff. And if you wish to get words with links under them - you can't - you'll get a word and a link after it. That makes messages urgly and huge.
The best way would be to implement telegram bot support to traccar. All you need to input is bot-api-key and telegram id for reports somewhere in settings. Who knows how to ask the author about it? emailing is a previous century tehnology )
The only caveat is to implement socks5 proxy in advance for loading urls like https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/sendMessage
you don't need any libraries. Only simple url download.
https://core.telegram.org/bots/api#sendmessage
Hi there,
has anyone tried to use a telegram bot for notifications?
Regards, Edi