NIMSDK-AOS  9.16.0
QChatApplyServerJoinParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
8 public class QChatApplyServerJoinParam extends QChatServerJoinParam{
9 
13  @NonNull
14  private final Long serverId;
15 
19  @NonNull
20  private String postscript = "";
21 
26  public QChatApplyServerJoinParam(long serverId) {
27  this.serverId = serverId;
28  }
29 
34  @NonNull
35  public Long getServerId() {
36  return serverId;
37  }
38 
43  @NonNull
44  public String getPostscript() {
45  return postscript;
46  }
47 
52  public void setPostscript(@NonNull String postscript) {
53  this.postscript = postscript;
54  }
55 
60  @Override
61  public Long getTtl() {
62  return super.getTtl();
63  }
64 
69  @Override
70  public void setTtl(Long ttl) {
71  super.setTtl(ttl);
72  }
73 }
void setPostscript(@NonNull String postscript)
设置附言(最长5000)