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

#include <nim_qchat_server_cpp_def.h>

Public 成员函数

 QChatServerSearchPageParam ()=default
 
 QChatServerSearchPageParam (const NIMQChatServerSearchPageParam &c_param)
 
NIMQChatServerSearchPageParam ToCParam () const
 

Public 属性

ServerSearchPageCallback cb {nullptr}
 回调函数
 
std::string keyword {""}
 搜索内容
 
uint64_t start_time {0}
 起始时间
 
uint64_t end_time {0}
 结束时间
 
NIMQChatSearchOrder order {kNIMQChatSearchOrderAsc}
 排序规则
 
NIMQChatServerSearchSort sort {kNIMQChatServerSearchSortCreateTime}
 排序规则
 
std::vector< uint32_t > server_types
 搜索的服务器类型, 为空表示搜索所有类型
 
NIMQChatServerSearchType search_type {kNIMQChatServerSearchTypeSquare}
 搜索类型
 
uint32_t limit {100}
 查询条数
 
std::string cursor {""}
 查询游标, 查询的起始位置
 

构造及析构函数说明

◆ QChatServerSearchPageParam() [1/2]

nim::QChatServerSearchPageParam::QChatServerSearchPageParam ( )
default

◆ QChatServerSearchPageParam() [2/2]

nim::QChatServerSearchPageParam::QChatServerSearchPageParam ( const NIMQChatServerSearchPageParam c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatServerSearchPageParam nim::QChatServerSearchPageParam::ToCParam ( ) const
inline

类成员变量说明

◆ cb

ServerSearchPageCallback nim::QChatServerSearchPageParam::cb {nullptr}

回调函数

◆ cursor

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

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

◆ end_time

uint64_t nim::QChatServerSearchPageParam::end_time {0}

结束时间

◆ keyword

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

搜索内容

◆ limit

uint32_t nim::QChatServerSearchPageParam::limit {100}

查询条数

◆ order

NIMQChatSearchOrder nim::QChatServerSearchPageParam::order {kNIMQChatSearchOrderAsc}

排序规则

◆ search_type

NIMQChatServerSearchType nim::QChatServerSearchPageParam::search_type {kNIMQChatServerSearchTypeSquare}

搜索类型

◆ server_types

std::vector<uint32_t> nim::QChatServerSearchPageParam::server_types

搜索的服务器类型, 为空表示搜索所有类型

◆ sort

NIMQChatServerSearchSort nim::QChatServerSearchPageParam::sort {kNIMQChatServerSearchSortCreateTime}

排序规则

◆ start_time

uint64_t nim::QChatServerSearchPageParam::start_time {0}

起始时间


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