NIMSDK-AOS  10.5.0
HandleQuickCommentOption.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.msg.model;
2 
3 import com.netease.nimlib.push.packet.marshal.Property;
4 
5 import java.io.Serializable;
6 
7 public class HandleQuickCommentOption implements Serializable {
8  private final MessageKey key;
9  private final QuickCommentOption commentOption;
10 
11  public HandleQuickCommentOption(Property key, Property commentOption) {
12  this.key = key == null ? null : new MessageKey(key);
13  this.commentOption = commentOption == null ? null : QuickCommentOption.fromProperty(commentOption);
14  }
15 
16  public MessageKey getKey() {
17  return key;
18  }
19 
21  return commentOption;
22  }
23 }
static QuickCommentOption fromProperty(Property property)
消息的关键信息,通过这些信息可以从服务端查询到该消息的完整部分
Definition: MessageKey.java:17