Format of location Message in Telegram?

Marcin3 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 Tananaev3 years ago

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

Marcin3 years ago

OK. But how/where is it generated?

Marcin3 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 Tananaev3 years ago

Check the source code.

Marcin3 years ago

Did you have a hint, which file :D ?

Anton Tananaev3 years ago

Just search "telegram" in the code.

Marcin3 years ago

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