diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-29 20:01:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-29 20:01:58 -0700 |
commit | 419cc923e428dcd68ca92906bf6511cbd574b8c2 (patch) | |
tree | 702fa19ae8669bf85ceedd2871feedc33d70d5cf /src/main/java/org/traccar/config | |
parent | fb886b6100493019ece6a9c53bd55280525efe2e (diff) | |
download | trackermap-server-419cc923e428dcd68ca92906bf6511cbd574b8c2.tar.gz trackermap-server-419cc923e428dcd68ca92906bf6511cbd574b8c2.tar.bz2 trackermap-server-419cc923e428dcd68ca92906bf6511cbd574b8c2.zip |
Make Telegram location configurable
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 6d2296fb1..167627b1d 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -759,6 +759,13 @@ public final class Keys { Collections.singletonList(KeyType.GLOBAL)); /** + * Telegram notification send location message. + */ + public static final ConfigKey<Boolean> NOTIFICATOR_TELEGRAM_SEND_LOCATION = new ConfigKey<>( + "notificator.telegram.sendLocation", + Collections.singletonList(KeyType.GLOBAL)); + + /** * Maximum time period for reports in seconds. Can be useful to prevent users to request unreasonably long reports. * By default there is no limit. */ |