1 package com.netease.nimlib.sdk.qchat.result;
3 import java.io.Serializable;
11 private final List<Long> successServerIds;
12 private final List<Long> failedServerIds;
13 private final long timestamp;
16 this.successServerIds = successServerIds;
17 this.failedServerIds = failedServerIds;
18 this.timestamp = timestamp;
26 return successServerIds;
32 return failedServerIds;
45 return "QChatServerMarkReadResult{" +
46 "successServerIds=" + successServerIds +
47 ", failedServerIds=" + failedServerIds +
long getTimestamp()
清空未读的服务器时间戳,这个时间戳之前的频道消息都认为是已读
List< Long > getSuccessServerIds()
清空未读数成功的serverId列表
List< Long > getFailedServerIds()
清空未读数失败的serverId列表
QChatServerMarkReadResult(List< Long > successServerIds, List< Long > failedServerIds, long timestamp)