aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/notification
diff options
context:
space:
mode:
authorLeonhard Heizinger <leonhard.heizinger@ur.de>2019-04-10 09:54:06 +0200
committerLeonhard Heizinger <leonhard.heizinger@ur.de>2019-04-10 09:54:06 +0200
commit22436a2434faa8912c8a352e65306d0dc0669b5c (patch)
tree9c7a99703efebaf086a4c8f99bc9b9f92a08639e /src/main/java/org/traccar/notification
parente6b0e38e6d250253b62c41dac3f01a9309a8de7f (diff)
downloadtrackermap-server-22436a2434faa8912c8a352e65306d0dc0669b5c.tar.gz
trackermap-server-22436a2434faa8912c8a352e65306d0dc0669b5c.tar.bz2
trackermap-server-22436a2434faa8912c8a352e65306d0dc0669b5c.zip
added Telegram Notification support
Diffstat (limited to 'src/main/java/org/traccar/notification')
-rw-r--r--src/main/java/org/traccar/notification/NotificatorManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/notification/NotificatorManager.java b/src/main/java/org/traccar/notification/NotificatorManager.java
index a4080a38d..191748379 100644
--- a/src/main/java/org/traccar/notification/NotificatorManager.java
+++ b/src/main/java/org/traccar/notification/NotificatorManager.java
@@ -31,6 +31,7 @@ import org.traccar.notificators.NotificatorNull;
import org.traccar.notificators.Notificator;
import org.traccar.notificators.NotificatorSms;
import org.traccar.notificators.NotificatorWeb;
+import org.traccar.notificators.NotificatorTelegram;
public final class NotificatorManager {
@@ -57,6 +58,9 @@ public final class NotificatorManager {
case "firebase":
defaultNotificator = NotificatorFirebase.class.getCanonicalName();
break;
+ case "telegram":
+ defaultNotificator = NotificatorTelegram.class.getCanonicalName();
+ break;
default:
break;
}