aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-01-17 13:43:53 +0300
committerGravatar Vitaly Takmazov2018-01-17 13:43:53 +0300
commitf641853214daace2a73503f3a78e1f9ba29fd386 (patch)
tree0eeeab99a0512d98198289714fa06edf9e5cef9a /juick-server-core/src/main
parent62df283157ff32dded77e833fbd0f4e3007acbbe (diff)
api: delete telegram id when got 403
Diffstat (limited to 'juick-server-core/src/main')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/TelegramService.java2
1 files changed, 2 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
index 4c8ebc4b..7786ca9f 100644
--- a/juick-server-core/src/main/java/com/juick/service/TelegramService.java
+++ b/juick-server-core/src/main/java/com/juick/service/TelegramService.java
@@ -27,6 +27,8 @@ import java.util.List;
public interface TelegramService {
boolean addChat(Long id);
+ boolean deleteChat(Long id);
+
List<Long> getChats();
int getUser(long tgId);