use of com.fanap.podchat.chat.thread.request.SafeLeaveRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatPresenter method leaveThread.
@Override
public void leaveThread(long threadId, ChatHandler handler) {
SafeLeaveRequest request = new SafeLeaveRequest.Builder(threadId, 18477).build();
// RequestLeaveThread leaveThread = new RequestLeaveThread.Builder(threadId).shouldKeepHistory()
// .build();
//
// chat.leaveThread(leaveThread, null);
chat.safeLeaveThread(request);
}
Aggregations