Telegram location notification

Slawek 4 years ago

Telegram location notification is now optional.

How to enable/disable location notification?

eazuaje 4 years ago

This is an interesting feature... is this available?

Anton Tananaev 4 years ago
eazuaje 4 years ago

Thank you very much Anton.

Marcin 4 years ago

Is it also possible to define for which notifications it comes? Or only on /Off?

Anton Tananaev 4 years ago

Only on and off.

Marcin 4 years ago

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.

ajm 4 years ago

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

Slawek 4 years ago

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>
SiriuS a year ago

В xml есть строки, уведомления прилетают, но не приходит уведомление о местоположении, в чем может быть проблема?

    <entry key='notificator.types'>telegram,web,mail,sms</entry>
    <entry key='notificator.telegram.key'>***</entry>
    <entry key='notificator.telegram.chatId'>***</entry>
    <entry key='notificator.telegram.sendLocation'>true</entry>
Anton Tananaev a year ago

What event types are we talking about?

SiriuS a year ago
<entry key='notificator.telegram.sendLocation'>true</entry> 

Я предполагаю что данный тег включает отправление локации в телеграм, поправьте если не так. И если так, то в каких случаеях когда он шлет локацию?