aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/TelegramService.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/TelegramService.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/TelegramService.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/service/TelegramService.java b/juick-server/src/main/java/com/juick/service/TelegramService.java
new file mode 100644
index 00000000..d5aa4fa8
--- /dev/null
+++ b/juick-server/src/main/java/com/juick/service/TelegramService.java
@@ -0,0 +1,15 @@
+package com.juick.service;
+
+import java.util.List;
+
+/**
+ * Created by vt on 24/11/2016.
+ */
+public interface TelegramService {
+ void addChat(Long id);
+ List<Long> getChats();
+ int getUser(long tgId);
+ boolean createTelegramUser(long tgID, String tgName);
+ List<Long> getSubscribers(int uid);
+ List<Long> getSubscribersToComments(int mid, int ignore_uid);
+}