NIM SDK API  9.0.0
Public Member Functions | Public Attributes | List of all members
nim::SysMessage Struct Reference

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

#include <nim_sysmsg_helper.h>

Public Member Functions

 SysMessage ()
 
std::string ToJsonString () const
 组装Json Value字符串 More...
 

Public Attributes

int64_t timetag_
 
NIMSysMsgType type_
 
std::string receiver_accid_
 
std::string sender_accid_
 
std::string content_
 
std::string attach_
 
int64_t id_
 
NIMSysMsgStatus status_
 
SysMessageSetting msg_setting_
 
NIMResCode rescode_
 
NIMMessageFeature feature_
 
int total_unread_count_
 
std::string client_msg_id_
 
std::string callbac_ext_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SysMessage()

nim::SysMessage::SysMessage ( )
inline

构造函数

Member Function Documentation

◆ ToJsonString()

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

组装Json Value字符串

Returns
string Json Value字符串

Member Data Documentation

◆ 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(客户端)

◆ 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_

通知类型


The documentation for this struct was generated from the following file: