NIMSDK-AOS  10.5.0
TeamMessageReceipt.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
7 public class TeamMessageReceipt extends MessageReceipt {
8 
9  private final String messageId;
10 
11  private final String messageServerId;
12 
13  private final int ackCount;
14 
15  private final int unAckCount;
16 
18  private final String newReaderAccount;
19 
20  public TeamMessageReceipt(TeamMsgAckInfo msgAckInfo) {
21  super(msgAckInfo.getTeamId(), 0L);
22  this.messageServerId = msgAckInfo.getMessageServerId();
23  this.messageId = msgAckInfo.getMsgId();
24  this.ackCount = msgAckInfo.getAckCount();
25  this.unAckCount = msgAckInfo.getUnAckCount();
26  this.newReaderAccount = msgAckInfo.getNewReaderAccount();
27  }
28 
29  public String getMsgId() {
30  return messageId;
31  }
32 
33  public String getMessageServerId() {
34  return messageServerId;
35  }
36 
37  public int getAckCount() {
38  return ackCount;
39  }
40 
41  public int getUnAckCount() {
42  return unAckCount;
43  }
44 
45  public String getNewReaderAccount() {
46  return newReaderAccount;
47  }
48 }
群已读回执信息 此类有两种状态,一种是存储已读未读用户账号列表的状态,一种是存储已读未读人数的状态 第...