NIMSDK-AOS  10.5.0
MessageReceipt.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
6 public class MessageReceipt {
7  private String sessionId;
8  private long time;
9 
10  public MessageReceipt(String sessionId, long time) {
11  this.sessionId = sessionId;
12  this.time = time;
13  }
14 
20  public String getSessionId() {
21  return sessionId;
22  }
23 
29  public long getTime() {
30  return time;
31  }
32 }
long getTime()
该会话最后一条已读消息的时间,比该时间早的消息都视为已读
String getSessionId()
会话ID(聊天对方账号)