diff options
author | 2017-06-29 14:03:04 +0300 | |
---|---|---|
committer | 2017-06-29 14:03:04 +0300 | |
commit | 02723131139806c761539a42a5fa80b68ecadee8 (patch) | |
tree | ca66f22993908758385f708eb2da4e4aeb20510a /juick-server-core/src/main/java/com/juick/service/TelegramService.java | |
parent | 4cc4b08f4377b7db697abdb533c625da608eb3d3 (diff) |
project structure: split server into jdbc + web
Diffstat (limited to 'juick-server-core/src/main/java/com/juick/service/TelegramService.java')
-rw-r--r-- | juick-server-core/src/main/java/com/juick/service/TelegramService.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/juick-server-core/src/main/java/com/juick/service/TelegramService.java b/juick-server-core/src/main/java/com/juick/service/TelegramService.java new file mode 100644 index 00000000..b23e3405 --- /dev/null +++ b/juick-server-core/src/main/java/com/juick/service/TelegramService.java @@ -0,0 +1,22 @@ +package com.juick.service; + +import java.util.List; + +/** + * Created by vt on 24/11/2016. + */ +public interface TelegramService { + boolean addChat(Long id); + + List<Long> getChats(); + + int getUser(long tgId); + + boolean createTelegramUser(long tgID, String tgName); + + boolean deleteTelegramUser(Integer uid); + + List<Long> getSubscribers(int uid); + + List<Long> getSubscribersToComments(int mid, int ignore_uid); +} |