NIM SDK API
9.0.0
|
分页查询收藏列表参数 More...
#include <nim_talkex_helper_collect.h>
Static Public Member Functions | |
static std::string | ToJsonString (const QueryCollectsParm &info) |
Public Attributes | |
uint64_t | from_time |
uint64_t | to_time |
uint64_t | exclude_id |
int | limit |
bool | reverse |
int | type |
分页查询收藏列表参数
uint64_t nim::QueryCollectsParm::exclude_id |
结束查询的最后一条收藏的id(不包含在查询结果中)缺省 可填0
uint64_t nim::QueryCollectsParm::from_time |
起始时间,默认0
int nim::QueryCollectsParm::limit |
本次查询的上限(最多100条)
bool nim::QueryCollectsParm::reverse |
反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)
uint64_t nim::QueryCollectsParm::to_time |
结束时间,推荐当前时间+1小时
int nim::QueryCollectsParm::type |
收藏类型,缺省表示所有类型