NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
v2::V2NIMNotificationAntispamConfig结构体 参考

#include <v2_nim_def_struct.hpp>

Public 属性

bool antispamEnabled {true}
 指定是否需要过安全通
 
nstd::optional< nstd::stringantispamCustomMessage
 

类成员变量说明

◆ antispamCustomMessage

nstd::optional<nstd::string> v2::V2NIMNotificationAntispamConfig::antispamCustomMessage

自定义消息中需要反垃圾的内容(仅当消息类型为自定义消息时有效), json 格式, 长度不超过 5000 字节, 字段如下 type: int, 1: 文本, 2: 图片, 3: 视频 data: string, 文本内容/图片地址/视频地址

◆ antispamEnabled

bool v2::V2NIMNotificationAntispamConfig::antispamEnabled {true}

指定是否需要过安全通


该结构体的文档由以下文件生成: