NIMSDK-AOS  9.16.3
QChatGetMentionedMeMessagesResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
4 import java.io.Serializable;
5 import java.util.List;
6 
10 public class QChatGetMentionedMeMessagesResult extends QChatGetByPageResult implements Serializable{
11 
15  private final List<QChatMessage> messages;
16 
17  public QChatGetMentionedMeMessagesResult(List<QChatMessage> messages) {
18  super();
19  this.messages = messages;
20  }
21 
22  public QChatGetMentionedMeMessagesResult(boolean hasMore, long nextTimeTag, List<QChatMessage> messages) {
23  super(hasMore, nextTimeTag);
24  this.messages = messages;
25  }
26 
27 
32  public List<QChatMessage> getMessages() {
33  return messages;
34  }
35 
36  @Override
37  public String toString() {
38  return "QChatGetMentionedMessagesResult{" +
39  "hasMore=" + hasMore +
40  ", nextTimeTag=" + nextTimeTag +
41  ", messages=" + messages +
42  '}';
43  }
44 }
final boolean hasMore
表示是否还有下一页
QChatGetMentionedMeMessagesResult(boolean hasMore, long nextTimeTag, List< QChatMessage > messages)
final long nextTimeTag
下一次翻页时的起始时间戳