채널 목록 조회
1. 전체 Public 채널 목록 조회
참여중이 아니더라도 전체 Public 채널 목록을 조회할 수 있습니다.
TalkPlus.getPublicChannels(lastChannel,
new TalkPlus.TPCallbackListener<List<TPChannel>, Boolean>() {
@Override
public void onSuccess(List<TPChannel> tpChannels, Boolean hasNext) {
}
@Override
public void onFailure(int errorCode, Exception exception) {
}
}
);TalkPlus.getPublicChannels(lastChannel,
object : TalkPlus.TPCallbackListener<List<TPChannel>, Boolean>() {
override fun onSuccess(tpChannels: List<TPChannel>, hasNext: Boolean) { }
override fun onFailure(int errorCode, Exception exception) { }
}
)2. 현재 참여중인 채널 목록 조회
현재 참여중인 채널 목록을 조회할 수 있습니다.
TalkPlus.getChannels(lastChannel,
new TalkPlus.TPCallbackListener<List<TPChannel>, Boolean>() {
@Override
public void onSuccess(List<TPChannel> tpChannels, Boolean hasNext) {
}
@Override
public void onFailure(int errorCode, Exception exception) {
}
}
);TalkPlus.getChannels(lastChannel,
object : TalkPlus.TPCallbackListener<List<TPChannel>, Boolean>() {
override fun onSuccess(tpChannels: List<TPChannel>, hasNext: Boolean) { }
override fun onFailure(int errorCode, Exception exception) { }
}
)3. 숨긴 채널 목록 조회
사용자가 hideChannel 메소드를 호출하여 숨긴 채널을 조회할 수 있습니다.
4. 전체 채널의 안 읽은 메시지 수 조회
현재 참여중인 모든 채널에 안 읽은 메시지 숫자를 조회할 수 있습니다.
5. 전체 채널 메시지 읽음 확인
현재 참여중인 모든 채널에 일괄적으로 메시지 읽음 확인 처리를 합니다.
6. 참여중인 채널 검색
현재 참여중인 채널 목록을 검색할 수 있습니다.
7. Public 채널 검색
Public 채널 목록을 검색할 수 있습니다.
Last updated