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.java7
1 files changed, 6 insertions, 1 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
index d5aa4fa8..259ab367 100644
--- a/juick-server/src/main/java/com/juick/service/TelegramService.java
+++ b/juick-server/src/main/java/com/juick/service/TelegramService.java
@@ -6,10 +6,15 @@ import java.util.List;
* Created by vt on 24/11/2016.
*/
public interface TelegramService {
- void addChat(Long id);
+ boolean 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);
}