Format of location Message in Telegram?

Marcin 4 years ago

Hello where is the template defined?
I mean if somebody enters / leave a geofence i get (since 4.13) a location picture / Link.
Where / how is it done?
I´d like to know because i wanna use them for other messages too.
Thanx

Anton Tananaev 4 years ago

It should work for all notifications where location is available. Which means everything except status notifications.

Marcin 4 years ago

OK. But how/where is it generated?

Marcin 4 years ago

Exactly i wanna have the map in a message when a device comes online. (As in geofence messages) There arives just a text message in telegram.
How can i do that?

Anton Tananaev 4 years ago

Check the source code.

Marcin 4 years ago

Did you have a hint, which file :D ?

Anton Tananaev 4 years ago

Just search "telegram" in the code.

Marcin 4 years ago

Oh, now i understand. With source you mean "tracker-server.jar"?
Thats above my skills...
Thought i could made it with templates