NIMSDK-AOS  9.16.3
QChatGetThreadMessagesResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
5 import java.io.Serializable;
6 import java.util.List;
7 
8 public class QChatGetThreadMessagesResult implements Serializable {
9 
13  private final QChatMessage threadMessage;
17  private final QChatMessageThreadInfo threadInfo;
18 
22  private final List<QChatMessage> messages;
23 
24 
26  List<QChatMessage> messages) {
27  this.threadMessage = threadMessage;
28  this.threadInfo = threadInfo;
29  this.messages = messages;
30  }
31 
37  return threadMessage;
38  }
39 
45  return threadInfo;
46  }
47 
52  public List<QChatMessage> getMessages() {
53  return messages;
54  }
55 
56  @Override
57  public String toString() {
58  return "QChatGetThreadMessagesResult{" +
59  "threadMessage=" + threadMessage +
60  ", threadInfo=" + threadInfo +
61  ", messages=" + messages +
62  '}';
63  }
64 }
QChatGetThreadMessagesResult(QChatMessage threadMessage, QChatMessageThreadInfo threadInfo, List< QChatMessage > messages)
List< QChatMessage > getMessages()
查询到的thread历史消息