getUIMsg method

WKUIConversationMsg getUIMsg(
  1. WKConversationMsg conversationMsg
)

Implementation

WKUIConversationMsg getUIMsg(WKConversationMsg conversationMsg) {
  WKUIConversationMsg msg = WKUIConversationMsg();
  msg.lastMsgSeq = conversationMsg.lastMsgSeq;
  msg.clientMsgNo = conversationMsg.lastClientMsgNO;
  msg.unreadCount = conversationMsg.unreadCount;
  msg.lastMsgTimestamp = conversationMsg.lastMsgTimestamp;
  msg.channelID = conversationMsg.channelID;
  msg.channelType = conversationMsg.channelType;
  msg.isDeleted = conversationMsg.isDeleted;
  msg.localExtraMap = conversationMsg.localExtraMap;
  msg.parentChannelID = conversationMsg.parentChannelID;
  msg.parentChannelType = conversationMsg.parentChannelType;
  msg.setRemoteMsgExtra(conversationMsg.msgExtra);
  return msg;
}