11#ifndef __NIM_QCHAT_PUBLIC_CPP_DEF_H__
12#define __NIM_QCHAT_PUBLIC_CPP_DEF_H__
51 uint32_t res_code = 0;
74 c_info.
text_bid =
const_cast<char*
>(text_bid.c_str());
75 c_info.pic_bid =
const_cast<char*
>(pic_bid.c_str());
85 uint64_t next_timestamp{0};
97 c_info.next_timestamp = next_timestamp;
98 c_info.cursor =
const_cast<char*
>(cursor.c_str());
static const char * kNIMQChatExt
Definition: nim_qchat_public_cpp_def.h:43
static const char * kNIMQChatMD5
Definition: nim_qchat_public_cpp_def.h:41
static const char * kNIMQChatWidth
Definition: nim_qchat_public_cpp_def.h:33
static const char * kNIMQChatHeight
Definition: nim_qchat_public_cpp_def.h:34
static const char * kNIMQChatName
Definition: nim_qchat_public_cpp_def.h:42
static const char * kNIMQChatLongitude
Definition: nim_qchat_public_cpp_def.h:37
std::function< void(const QChatBaseResp &)> QChatBaseCallback
通用回调模板
Definition: nim_qchat_public_cpp_def.h:104
static const char * kNIMQChatTitle
Definition: nim_qchat_public_cpp_def.h:38
static const char * kNIMQChatID
Definition: nim_qchat_public_cpp_def.h:44
static const char * kNIMQChatDuration
Definition: nim_qchat_public_cpp_def.h:35
static const char * kNIMQChatURL
Definition: nim_qchat_public_cpp_def.h:40
static const char * kNIMQChatLatitude
Definition: nim_qchat_public_cpp_def.h:36
static const char * kNIMQChatType
Definition: nim_qchat_public_cpp_def.h:45
static const char * kNIMQChatData
Definition: nim_qchat_public_cpp_def.h:46
static const char * kNIMQChatFilePath
Definition: nim_qchat_public_cpp_def.h:39
#define NIM_QCHAT_SDK_CPPWRAPPER_DLL_API
Definition: nim_qchat_sdk_cpp_wrapper.h:38
Definition: nim_qchat_public_def.h:141
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_public_def.h:143
Definition: nim_qchat_public_def.h:149
char * pic_bid
反垃圾图片业务id
Definition: nim_qchat_public_def.h:153
char * text_bid
反垃圾文本业务id
Definition: nim_qchat_public_def.h:151
Definition: nim_qchat_public_def.h:204
uint64_t next_timestamp
下一次分页起始时间
Definition: nim_qchat_public_def.h:208
bool has_more
是否还有更多
Definition: nim_qchat_public_def.h:206
char * cursor
下一次分页起始游标
Definition: nim_qchat_public_def.h:210
Definition: nim_qchat_public_cpp_def.h:49
NIMQChatBaseResp ToCParam() const
Definition: nim_qchat_public_cpp_def.h:54
QChatBaseResp(const NIMQChatBaseResp &c_resp)
Definition: nim_qchat_public_cpp_def.h:53
Definition: nim_qchat_public_cpp_def.h:62
std::string pic_bid
反垃圾图片业务id
Definition: nim_qchat_public_cpp_def.h:66
std::string text_bid
反垃圾文本业务id
Definition: nim_qchat_public_cpp_def.h:64
QChatBusinessAntiSpamInfo(const NIMQChatBusinessAntiSpamInfo &c_info)
Definition: nim_qchat_public_cpp_def.h:68
NIMQChatBusinessAntiSpamInfo ToCParam() const
Definition: nim_qchat_public_cpp_def.h:72
QChatBusinessAntiSpamInfo()=default
Definition: nim_qchat_public_cpp_def.h:81
NIMQChatPageInfo ToCParam() const
Definition: nim_qchat_public_cpp_def.h:94
QChatPageInfo(const NIMQChatPageInfo &c_info)
Definition: nim_qchat_public_cpp_def.h:89
bool has_more
是否还有更多
Definition: nim_qchat_public_cpp_def.h:83
std::string cursor
下一次分页起始游标
Definition: nim_qchat_public_cpp_def.h:87