|
NIM PC Cross Platform SDK
|
系统消息和自定义通知属性设置 More...
#include <nim_sysmsg_helper.h>
Public Member Functions | |
| SysMessageSetting () | |
| void | ToJsonValue (nim_cpp_wrapper_util::Json::Value &message) const |
| 组装Json Value字符串 More... | |
| void | ParseMessageSetting (const nim_cpp_wrapper_util::Json::Value &message) |
| 从Json Value解析出消息属性设置 More... | |
Public Attributes | |
| BoolStatus | need_push_ |
| 是否需要推送 | |
| BoolStatus | push_need_badge_ |
| 是否要做消息计数 | |
| BoolStatus | push_need_prefix_ |
| 需要推送昵称 | |
| BoolStatus | need_offline_ |
| 是否支持离线消息 | |
| nim_cpp_wrapper_util::Json::Value | push_payload_ |
| 第三方自定义的推送属性,长度2048 | |
| std::string | push_content_ |
| 自定义推送文案,长度限制200字节 | |
| BoolStatus | anti_spam_enable_ |
| (功能暂时不开放)是否需要过易盾反垃圾 | |
| std::string | anti_spam_content_ |
| (功能暂时不开放)(可选)开发者自定义的反垃圾字段 | |
| std::string | env_config_ |
| (可选) 指向自定义抄送的配置 | |
系统消息和自定义通知属性设置
|
inline |
构造函数
|
inline |
从Json Value解析出消息属性设置
| [in] | message | 消息Json |
|
inline |
组装Json Value字符串
| [out] | message | 消息Json |