1 package com.netease.nimlib.sdk.qchat.param;
3 import androidx.annotation.NonNull;
21 private final Long serverId;
26 private final Long channelId;
31 private final Long time;
36 private final Long msgIdServer;
44 private Map<String, Object> extension;
49 private Integer serverStatus;
58 private Integer subType;
69 this.updateParam = updateParam;
70 this.serverId = serverId;
71 this.channelId = channelId;
73 this.msgIdServer = msgIdServer;
143 this.extension = extension;
158 this.serverStatus = serverStatus;
166 return antiSpamOption;
174 this.antiSpamOption = antiSpamOption;
190 this.subType = subType;
void setExtension(Map< String, Object > extension)
设置更新的消息自定义扩展
Integer getSubType()
获取消息子类型
消息/系统通知相关接口更新操作通用参数,设置该操作相关的附加字段,设置该操作引发的推送内容 ...
Long getChannelId()
获取消息所属的channelId
void setServerStatus(Integer serverStatus)
设置消息状态,只能设置成自定义的状态(status>= 10000),否则提示414参数错误
String getBody()
获取更新的消息body
void setBody(String body)
设置更新的消息body
Map< String, Object > getExtension()
获取更新的消息自定义扩展
Long getServerId()
获取消息所属的serverId
QChatUpdateMessageParam(@NonNull QChatUpdateParam updateParam, long serverId, long channelId, long time, long msgIdServer)
Long getMsgIdServer()
获取服务端生成的消息id
void setSubType(Integer subType)
设置消息子类型
void setAntiSpamOption(QChatMessageAntiSpamOption antiSpamOption)
设置消息反垃圾配置选项
QChatMessageAntiSpamOption getAntiSpamOption()
获取消息反垃圾配置选项
Integer getServerStatus()
获取更新的消息状态
QChatUpdateParam getUpdateParam()
获取更新操作通用参数