NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim::QChatUpdateMessageParam结构体 参考

#include <nim_qchat_message_cpp_def.h>

Public 成员函数

 QChatUpdateMessageParam ()=default
 
 QChatUpdateMessageParam (const NIMQChatUpdateMessageParam &c_param)
 
 QChatUpdateMessageParam (const NIMQChatRevokeMessageParam &c_param)
 
 QChatUpdateMessageParam (const NIMQChatDeleteMessageParam &c_param)
 
NIMQChatUpdateMessageParam ToCParam () const
 

Public 属性

UpdateMsgCallback cb {nullptr}
 回调函数
 
NIMQChatChannelIDInfo id_info {}
 频道ID信息
 
uint64_t msg_server_id {0}
 消息服务器 id
 
uint64_t timestamp {0}
 消息发送时间戳
 
QChatMessageUpdateInfo update_info {}
 更新信息
 
QChatMessageAntiSpamInfo anti_spam_info {}
 反垃圾信息
 
NIMQChatMessageStatus status {kMsgStatusNormal}
 消息状态, 不允许更新为删除或撤回
 
std::string msg_body {""}
 消息体
 
std::string msg_ext {""}
 消息扩展字段
 
uint32_t msg_sub_type {0}
 消息子类型
 

构造及析构函数说明

◆ QChatUpdateMessageParam() [1/4]

nim::QChatUpdateMessageParam::QChatUpdateMessageParam ( )
default

◆ QChatUpdateMessageParam() [2/4]

nim::QChatUpdateMessageParam::QChatUpdateMessageParam ( const NIMQChatUpdateMessageParam c_param)
inline

◆ QChatUpdateMessageParam() [3/4]

nim::QChatUpdateMessageParam::QChatUpdateMessageParam ( const NIMQChatRevokeMessageParam c_param)
inline

◆ QChatUpdateMessageParam() [4/4]

nim::QChatUpdateMessageParam::QChatUpdateMessageParam ( const NIMQChatDeleteMessageParam c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatUpdateMessageParam nim::QChatUpdateMessageParam::ToCParam ( ) const
inline

类成员变量说明

◆ anti_spam_info

QChatMessageAntiSpamInfo nim::QChatUpdateMessageParam::anti_spam_info {}

反垃圾信息

◆ cb

UpdateMsgCallback nim::QChatUpdateMessageParam::cb {nullptr}

回调函数

◆ id_info

NIMQChatChannelIDInfo nim::QChatUpdateMessageParam::id_info {}

频道ID信息

◆ msg_body

std::string nim::QChatUpdateMessageParam::msg_body {""}

消息体

◆ msg_ext

std::string nim::QChatUpdateMessageParam::msg_ext {""}

消息扩展字段

◆ msg_server_id

uint64_t nim::QChatUpdateMessageParam::msg_server_id {0}

消息服务器 id

◆ msg_sub_type

uint32_t nim::QChatUpdateMessageParam::msg_sub_type {0}

消息子类型

◆ status

NIMQChatMessageStatus nim::QChatUpdateMessageParam::status {kMsgStatusNormal}

消息状态, 不允许更新为删除或撤回

◆ timestamp

uint64_t nim::QChatUpdateMessageParam::timestamp {0}

消息发送时间戳

◆ update_info

QChatMessageUpdateInfo nim::QChatUpdateMessageParam::update_info {}

更新信息


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