use of com.fanap.podchat.chat.pin.pin_thread.model.ResultPinThread in project pod-chat-android-sdk by FanapSoft.
the class PinThread method handleOnThreadUnPinned.
public static ChatResponse<ResultPinThread> handleOnThreadUnPinned(ChatMessage chatMessage) {
ResultPinThread result = new ResultPinThread();
result.setUniqueId(chatMessage.getUniqueId());
result.setContent(chatMessage.getContent());
result.setTime(chatMessage.getTime());
ChatResponse<ResultPinThread> response = new ChatResponse<>();
response.setUniqueId(chatMessage.getUniqueId());
response.setResult(result);
response.setSubjectId(chatMessage.getSubjectId());
return response;
}
use of com.fanap.podchat.chat.pin.pin_thread.model.ResultPinThread in project pod-chat-android-sdk by FanapSoft.
the class PinThread method handleOnThreadPinned.
public static ChatResponse<ResultPinThread> handleOnThreadPinned(ChatMessage chatMessage) {
ResultPinThread result = new ResultPinThread();
result.setUniqueId(chatMessage.getUniqueId());
result.setContent(chatMessage.getContent());
result.setTime(chatMessage.getTime());
ChatResponse<ResultPinThread> response = new ChatResponse<>();
response.setUniqueId(chatMessage.getUniqueId());
response.setResult(result);
response.setSubjectId(chatMessage.getSubjectId());
return response;
}
Aggregations