消息属性设置
更多...
#include <nim_talk_helper.h>
◆ MessageSetting()
nim::MessageSetting::MessageSetting |
( |
| ) |
|
|
inline |
◆ ParseMessageSetting()
从Json Value解析出消息属性设置
- 参数
-
- 返回
- void
◆ ToJsonValue() [1/2]
◆ ToJsonValue() [2/2]
组装Json Value字符串
- 参数
-
- 返回
- void
◆ anti_apam_biz_id_
std::string nim::MessageSetting::anti_apam_biz_id_ |
(可选)用户配置的对某些单条消息另外的反垃圾的业务ID
◆ anti_apam_using_yidun_
int nim::MessageSetting::anti_apam_using_yidun_ |
int, (可选) 单条消息是否使用易盾反垃圾 0:(在开通易盾的情况下)不过易盾反垃圾
◆ anti_spam_content_
std::string nim::MessageSetting::anti_spam_content_ |
(可选)开发者自定义的反垃圾字段,长度限制5000
◆ anti_spam_enable_
◆ anti_spam_ext
std::string nim::MessageSetting::anti_spam_ext |
(可选)String, 易盾反垃圾扩展字段,限制 json,长度限制 1024
◆ anti_spam_res
std::string nim::MessageSetting::anti_spam_res |
◆ client_anti_spam_hitting_
BoolStatus nim::MessageSetting::client_anti_spam_hitting_ |
◆ env_config_
std::string nim::MessageSetting::env_config_ |
(可选)String, 环境变量,用于指向不同的抄送、第三方回调等配置(于8.0.0添加)
◆ force_push_content_
std::string nim::MessageSetting::force_push_content_ |
◆ force_push_ids_list_
std::list<std::string> nim::MessageSetting::force_push_ids_list_ |
◆ is_blacklisted_
◆ is_force_push_
群组消息强推开关,强推全员设置true并强推列表为空
◆ is_update_session_
BoolStatus nim::MessageSetting::is_update_session_ |
(可选) 消息是否需要刷新到session服务,0:否,1:是;只有消息存离线的情况下,才会判断该参数,缺省:1
◆ local_ext_
std::string nim::MessageSetting::local_ext_ |
◆ need_offline_
◆ need_push_
◆ push_content_
std::string nim::MessageSetting::push_content_ |
◆ push_need_badge_
◆ push_need_prefix_
◆ push_payload_
◆ resend_flag_
◆ roaming_
◆ routable_
◆ self_sync_
◆ server_ext_
◆ server_history_saved_
BoolStatus nim::MessageSetting::server_history_saved_ |
◆ team_msg_ack_sent_
BoolStatus nim::MessageSetting::team_msg_ack_sent_ |
◆ team_msg_need_ack_
BoolStatus nim::MessageSetting::team_msg_need_ack_ |
◆ team_msg_unread_count_
int nim::MessageSetting::team_msg_unread_count_ |
◆ yidun_anti_cheating_
std::string nim::MessageSetting::yidun_anti_cheating_ |
(可选)String, 易盾反垃圾增强反作弊专属字段, 限制json,长度限制1024
该结构体的文档由以下文件生成:
- D:/GitLab/builds/wydSYb3b/0/nim-pc/california/nim-cross-platform-sdk/exports/wrapper/nim_cpp_wrapper/helper/nim_talk_helper.h