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

系统消息和自定义通知数据 更多...

#include <nim_sysmsg_helper.h>

Public 成员函数

 SysMessage ()
 
std::string ToJsonString () const
 组装Json Value字符串
 
nim_cpp_wrapper_util::Json::Value ToJsonObject () const
 组装Json Value
 

Public 属性

int64_t timetag_
 通知时间戳(毫秒)
 
NIMSysMsgType type_
 通知类型
 
std::string receiver_accid_
 接收者ID
 
std::string sender_accid_
 发送者ID
 
std::string content_
 只读,SDK不转发该字段
 
std::string attach_
 通知附件
 
int64_t id_
 通知ID
 
NIMSysMsgStatus status_
 通知状态
 
SysMessageSetting msg_setting_
 消息属性设置
 
NIMResCode rescode_
 通知错误码
 
NIMMessageFeature feature_
 通知属性
 
int total_unread_count_
 总计的通知未读数
 
std::string client_msg_id_
 客户端消息 ID
 
std::string client_notification_id_
 客户端通知 ID
 
std::string callbac_ext_
 v8.2.0 第三方回调返回的自定义字段
 

详细描述

系统消息和自定义通知数据

构造及析构函数说明

◆ SysMessage()

nim::SysMessage::SysMessage ( )
inline

构造函数

成员函数说明

◆ ToJsonObject()

Json::Value nim::SysMessage::ToJsonObject ( ) const
inline

组装Json Value

返回
Json::Value

◆ ToJsonString()

std::string nim::SysMessage::ToJsonString ( ) const
inline

组装Json Value字符串

返回
string Json Value字符串

类成员变量说明

◆ attach_

std::string nim::SysMessage::attach_

通知附件

◆ callbac_ext_

std::string nim::SysMessage::callbac_ext_

v8.2.0 第三方回调返回的自定义字段

◆ client_msg_id_

std::string nim::SysMessage::client_msg_id_

客户端消息 ID

◆ client_notification_id_

std::string nim::SysMessage::client_notification_id_

客户端通知 ID

◆ content_

std::string nim::SysMessage::content_

只读,SDK不转发该字段

◆ feature_

NIMMessageFeature nim::SysMessage::feature_

通知属性

◆ id_

int64_t nim::SysMessage::id_

通知ID

◆ msg_setting_

SysMessageSetting nim::SysMessage::msg_setting_

消息属性设置

◆ receiver_accid_

std::string nim::SysMessage::receiver_accid_

接收者ID

◆ rescode_

NIMResCode nim::SysMessage::rescode_

通知错误码

◆ sender_accid_

std::string nim::SysMessage::sender_accid_

发送者ID

◆ status_

NIMSysMsgStatus nim::SysMessage::status_

通知状态

◆ timetag_

int64_t nim::SysMessage::timetag_

通知时间戳(毫秒)

◆ total_unread_count_

int nim::SysMessage::total_unread_count_

总计的通知未读数

◆ type_

NIMSysMsgType nim::SysMessage::type_

通知类型


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