NIM PC Cross Platform SDK
|
#include <v2_nim_def_struct.hpp>
Public 属性 | |
bool | antispamEnabled {true} |
指定是否需要过安全通 | |
nstd::optional< nstd::string > | antispamCustomMessage |
nstd::optional<nstd::string> v2::V2NIMNotificationAntispamConfig::antispamCustomMessage |
自定义消息中需要反垃圾的内容(仅当消息类型为自定义消息时有效), json 格式, 长度不超过 5000 字节, 字段如下 type: int, 1: 文本, 2: 图片, 3: 视频 data: string, 文本内容/图片地址/视频地址