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

#include <nim_qchat_message_cpp_def.h>

Public 成员函数

 QChatMessageSearchPageParam ()=default
 
 QChatMessageSearchPageParam (const NIMQChatMessageSearchPageParam &c_param)
 
NIMQChatMessageSearchPageParam ToCParam () const
 

Public 属性

MessageSearchPageCallback cb = nullptr
 回调函数
 
std::string keyword
 搜索关键字
 
uint64_t server_id {0}
 服务器 ID
 
uint64_t channel_id {0}
 频道 ID
 
std::string from_accid
 消息发送者ID
 
uint64_t from_time {0}
 搜索的开始时间
 
uint64_t to_time {0}
 搜索的结束时间
 
std::vector< NIMQChatMsgTypemsg_types
 搜索消息类型
 
std::vector< uint32_t > sub_types
 搜索消息类型
 
bool include_self {false}
 是否包含自己的消息
 
NIMQChatSearchOrder order {kNIMQChatSearchOrderAsc}
 排序顺序
 
NIMQChatMessageSearchSort sort {kNIMQChatMessageSearchSortCreateTime}
 排序规则
 
uint32_t limit {100}
 查询条数
 
std::string cursor
 查询游标, 查询的起始位置
 

构造及析构函数说明

◆ QChatMessageSearchPageParam() [1/2]

nim::QChatMessageSearchPageParam::QChatMessageSearchPageParam ( )
default

◆ QChatMessageSearchPageParam() [2/2]

nim::QChatMessageSearchPageParam::QChatMessageSearchPageParam ( const NIMQChatMessageSearchPageParam c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatMessageSearchPageParam nim::QChatMessageSearchPageParam::ToCParam ( ) const
inline

类成员变量说明

◆ cb

MessageSearchPageCallback nim::QChatMessageSearchPageParam::cb = nullptr

回调函数

◆ channel_id

uint64_t nim::QChatMessageSearchPageParam::channel_id {0}

频道 ID

◆ cursor

std::string nim::QChatMessageSearchPageParam::cursor

查询游标, 查询的起始位置

◆ from_accid

std::string nim::QChatMessageSearchPageParam::from_accid

消息发送者ID

◆ from_time

uint64_t nim::QChatMessageSearchPageParam::from_time {0}

搜索的开始时间

◆ include_self

bool nim::QChatMessageSearchPageParam::include_self {false}

是否包含自己的消息

◆ keyword

std::string nim::QChatMessageSearchPageParam::keyword

搜索关键字

◆ limit

uint32_t nim::QChatMessageSearchPageParam::limit {100}

查询条数

◆ msg_types

std::vector<NIMQChatMsgType> nim::QChatMessageSearchPageParam::msg_types

搜索消息类型

◆ order

NIMQChatSearchOrder nim::QChatMessageSearchPageParam::order {kNIMQChatSearchOrderAsc}

排序顺序

◆ server_id

uint64_t nim::QChatMessageSearchPageParam::server_id {0}

服务器 ID

◆ sort

NIMQChatMessageSearchSort nim::QChatMessageSearchPageParam::sort {kNIMQChatMessageSearchSortCreateTime}

排序规则

◆ sub_types

std::vector<uint32_t> nim::QChatMessageSearchPageParam::sub_types

搜索消息类型

◆ to_time

uint64_t nim::QChatMessageSearchPageParam::to_time {0}

搜索的结束时间


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