This is an interesting feature... is this available?
You can use this config parameter:
https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/config/Keys.java#L779
Thank you very much Anton.
Is it also possible to define for which notifications it comes? Or only on /Off?
Only on and off.
Just a hint:
I now installed 4.14
Telegram uses now the short templates. And i dont got location Message.
Putted<entry key='notificator.telegram.sendLocation'>true</entry>
in conf/traccar.xml and location Message is back.
I had to set up a new traccar server because 4.1 was corrupt on my raspberry and the backup was not good.
I'm using version 5.0 now and the only thing that doesn't work is the telegram modifier, it worked fine under 4.1
I can't find anywhere how and especially where I can enable this.
can someone give me the right hint?
jos
example
<entry key='notificator.types'>web,mail,traccar,telegram</entry>
<entry key='notificator.traccar.key'>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</entry>
<entry key='notificator.telegram.chatId'>xxxxxxxx</entry>
<entry key='notificator.telegram.key'>xxxxxxxxxxxxxxxxxxxxxxxxxxx</entry>
<entry key='notificator.telegram.sendLocation'>false</entry>
Telegram location notification is now optional.
How to enable/disable location notification?