NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
NIMQChatGetMessagesParam结构体 参考

#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
 是否包含本地消息
 

类成员变量说明

◆ cb

nim_qchat_query_history_msg_cb_func NIMQChatGetMessagesParam::cb

查询历史消息异步回调

◆ channel_id

uint64_t NIMQChatGetMessagesParam::channel_id

频道ID

◆ exclude_msg_server_id

uint64_t NIMQChatGetMessagesParam::exclude_msg_server_id

排除某条消息, msg server id

◆ from_time

uint64_t NIMQChatGetMessagesParam::from_time

查询开始时间

◆ include_local_messages

bool NIMQChatGetMessagesParam::include_local_messages

是否包含本地消息

◆ limit

uint32_t NIMQChatGetMessagesParam::limit

查询条数

◆ reverse

bool NIMQChatGetMessagesParam::reverse

是否倒序, false: 否, true: 是

◆ server_id

uint64_t NIMQChatGetMessagesParam::server_id

服务器ID

◆ to_time

uint64_t NIMQChatGetMessagesParam::to_time

查询结束时间

◆ user_data

void* NIMQChatGetMessagesParam::user_data

自定义用户数据


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