1 package com.netease.nimlib.sdk.v2.chatroom.params;
7 import java.io.Serializable;
30 private Boolean clientAntispamEnabled;
34 private String clientAntispamReplace;
38 private List<String> receiverIds;
42 private String notifyTargetTags;
63 this.messageConfig = messageConfig;
79 this.routeConfig = routeConfig;
87 return antispamConfig;
95 this.antispamConfig = antispamConfig;
103 if (clientAntispamEnabled == null) {
106 return clientAntispamEnabled;
114 this.clientAntispamEnabled = clientAntispamEnabled;
122 if(clientAntispamReplace == null) {
125 return clientAntispamReplace;
133 this.clientAntispamReplace = clientAntispamReplace;
149 this.receiverIds = receiverIds;
157 return notifyTargetTags;
165 this.notifyTargetTags = notifyTargetTags;
181 this.locationInfo = locationInfo;
List< String > getReceiverIds()
获取聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽...
void setRouteConfig(V2NIMMessageRouteConfig routeConfig)
设置路由抄送相关配置
void setMessageConfig(V2NIMChatroomMessageConfig messageConfig)
设置消息相关配置
V2NIMSendChatroomMessageParams()
String getNotifyTargetTags()
获取消息的目标标签表达式
V2NIMChatroomMessageConfig getMessageConfig()
获取消息相关配置
V2NIMMessageRouteConfig getRouteConfig()
获取路由抄送相关配置
void setReceiverIds(List< String > receiverIds)
设置聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽...
V2NIMLocationInfo getLocationInfo()
获取位置信息
void setLocationInfo(V2NIMLocationInfo locationInfo)
设置位置信息
void setAntispamConfig(V2NIMMessageAntispamConfig antispamConfig)
设置反垃圾相关配置
void setNotifyTargetTags(String notifyTargetTags)
设置消息的目标标签表达式
String getClientAntispamReplace()
获取反垃圾命中后替换的文本
V2NIMMessageAntispamConfig getAntispamConfig()
获取反垃圾相关配置
void setClientAntispamReplace(String clientAntispamReplace)
设置反垃圾命中后替换的文本
void setClientAntispamEnabled(Boolean clientAntispamEnabled)
设置是否启用本地反垃圾,默认false
boolean isClientAntispamEnabled()
获取是否启用本地反垃圾,默认false