use of com.fanap.podchat.chat.thread.respone.CloseThreadResult in project pod-chat-android-sdk by FanapSoft.
the class ThreadManager method handleCloseThreadResponse.
public static ChatResponse<CloseThreadResult> handleCloseThreadResponse(ChatMessage chatMessage) {
ChatResponse<CloseThreadResult> response = new ChatResponse<>();
CloseThreadResult result = new CloseThreadResult();
result.setThreadId(chatMessage.getSubjectId());
response.setResult(result);
response.setUniqueId(chatMessage.getUniqueId());
response.setSubjectId(chatMessage.getSubjectId());
response.setCache(false);
response.setHasError(false);
return response;
}
Aggregations