![]() |
NIM 跨平台 C++ SDK
|
#include <nim_qchat_message_def.h>
Public 属性 | |
nim_qchat_query_history_msg_cb_func | cb |
查询历史消息异步回调 | |
void * | user_data |
自定义用户数据 | |
uint64_t | server_id |
服务器ID | |
uint64_t | channel_id |
频道ID | |
uint64_t | from_time |
查询开始时间 | |
uint64_t | to_time |
查询结束时间 | |
uint64_t | exclude_msg_server_id |
排除某条消息, msg server id | |
uint32_t | limit |
查询条数 | |
bool | reverse |
是否倒序, false: 否, true: 是 | |
bool | include_local_messages |
是否包含本地消息 | |
nim_qchat_query_history_msg_cb_func NIMQChatGetMessagesParam::cb |
查询历史消息异步回调
uint64_t NIMQChatGetMessagesParam::channel_id |
频道ID
uint64_t NIMQChatGetMessagesParam::exclude_msg_server_id |
排除某条消息, msg server id
uint64_t NIMQChatGetMessagesParam::from_time |
查询开始时间
bool NIMQChatGetMessagesParam::include_local_messages |
是否包含本地消息
uint32_t NIMQChatGetMessagesParam::limit |
查询条数
bool NIMQChatGetMessagesParam::reverse |
是否倒序, false: 否, true: 是
uint64_t NIMQChatGetMessagesParam::server_id |
服务器ID
uint64_t NIMQChatGetMessagesParam::to_time |
查询结束时间
void* NIMQChatGetMessagesParam::user_data |
自定义用户数据