系统消息和自定义通知数据
More...
#include <nim_sysmsg_helper.h>
|
|
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 | callbac_ext_ |
| | v8.2.0 第三方回调返回的自定义字段
|
| |
◆ SysMessage()
| nim::SysMessage::SysMessage |
( |
| ) |
|
|
inline |
◆ ToJsonObject()
| Json::Value nim::SysMessage::ToJsonObject |
( |
| ) |
const |
|
inline |
组装Json Value
- Returns
- Json::Value
◆ ToJsonString()
| std::string nim::SysMessage::ToJsonString |
( |
| ) |
const |
|
inline |
组装Json Value字符串
- Returns
- string Json Value字符串
The documentation for this struct was generated from the following file: