1 package com.netease.nimlib.sdk.qchat.param;
3 import androidx.annotation.NonNull;
22 private final Long msgIdServer;
35 private Map<String, Object> extension;
39 private Integer status;
49 this.updateParam = updateParam;
50 this.msgIdServer = msgIdServer;
105 this.extension = extension;
120 this.status = status;
QChatUpdateParam getUpdateParam()
获取更新操作通用参数
消息/系统通知相关接口更新操作通用参数,设置该操作相关的附加字段,设置该操作引发的推送内容 ...
void setExtension(Map< String, Object > extension)
设置通知扩展
void setStatus(Integer status)
设置状态,只能设置成自定义的状态(status>= 10000),否则提示414参数错误
QChatSystemNotificationType getType()
获取通知类型
void setBody(String body)
设置通知内容
Long getMsgIdServer()
获取服务端生成的消息id
Map< String, Object > getExtension()
获取通知扩展
QChatUpdateSystemNotificationParam(@NonNull QChatUpdateParam updateParam, long msgIdServer, QChatSystemNotificationType type)
只能更新isPersistEnable为true的通知