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

#include <nim_qchat_channel_cpp_def.h>

Public 成员函数

 QChatChannelSearchPageParam ()=default
 
 QChatChannelSearchPageParam (const NIMQChatChannelSearchPageParam &c_param)
 
NIMQChatChannelSearchPageParam ToCParam () const
 

Public 属性

ChannelSearchPageCallback cb {nullptr}
 回调函数
 
uint64_t server_id {0}
 服务器 id, 若为空则表示在所有服务器下可见频道中搜索
 
std::string keyword {""}
 搜索内容
 
uint64_t start_time {0}
 起始时间
 
uint64_t end_time {0}
 结束时间
 
NIMQChatSearchOrder order {kNIMQChatSearchOrderAsc}
 排序规则
 
NIMQChatChannelSearchSort sort {kNIMQChatChannelSearchSortCreateTime}
 排序规则
 
uint32_t limit {100}
 查询条数
 
std::string cursor {""}
 查询游标, 查询的起始位置
 

构造及析构函数说明

◆ QChatChannelSearchPageParam() [1/2]

nim::QChatChannelSearchPageParam::QChatChannelSearchPageParam ( )
default

◆ QChatChannelSearchPageParam() [2/2]

nim::QChatChannelSearchPageParam::QChatChannelSearchPageParam ( const NIMQChatChannelSearchPageParam c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatChannelSearchPageParam nim::QChatChannelSearchPageParam::ToCParam ( ) const
inline

类成员变量说明

◆ cb

ChannelSearchPageCallback nim::QChatChannelSearchPageParam::cb {nullptr}

回调函数

◆ cursor

std::string nim::QChatChannelSearchPageParam::cursor {""}

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

◆ end_time

uint64_t nim::QChatChannelSearchPageParam::end_time {0}

结束时间

◆ keyword

std::string nim::QChatChannelSearchPageParam::keyword {""}

搜索内容

◆ limit

uint32_t nim::QChatChannelSearchPageParam::limit {100}

查询条数

◆ order

NIMQChatSearchOrder nim::QChatChannelSearchPageParam::order {kNIMQChatSearchOrderAsc}

排序规则

◆ server_id

uint64_t nim::QChatChannelSearchPageParam::server_id {0}

服务器 id, 若为空则表示在所有服务器下可见频道中搜索

◆ sort

NIMQChatChannelSearchSort nim::QChatChannelSearchPageParam::sort {kNIMQChatChannelSearchSortCreateTime}

排序规则

◆ start_time

uint64_t nim::QChatChannelSearchPageParam::start_time {0}

起始时间


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