NIMSDK-AOS  9.16.3
QChatAreMentionedMeMessagesParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
5 import java.util.ArrayList;
6 import java.util.List;
7 
12 
16  private final List<? extends QChatMessage> messages;
17 
22  public QChatAreMentionedMeMessagesParam(@NonNull List<? extends QChatMessage> messages) {
23  if(messages != null) {
24  this.messages = new ArrayList<>(messages);
25  }else{
26  this.messages = new ArrayList<>();
27  }
28  }
29 
30 
35  @NonNull
36  public List<? extends QChatMessage> getMessages() {
37  return messages;
38  }
39 }