aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/TelegramService.java
blob: 259ab367b9e4b01f19beb812c44c7411eaeaf92c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);

    List<Long> getSubscribers(int uid);

    List<Long> getSubscribersToComments(int mid, int ignore_uid);
}