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

分页查询收藏列表参数 更多...

#include <nim_talkex_helper_collect.h>

静态 Public 成员函数

static std::string ToJsonString (const QueryCollectsParm &info)
 

Public 属性

uint64_t from_time {0}
 起始时间,默认0
 
uint64_t to_time {0}
 结束时间,推荐当前时间+1小时
 
uint64_t exclude_id {0}
 结束查询的最后一条收藏的id(不包含在查询结果中)缺省 可填0
 
int limit
 本次查询的上限(最多100条)
 
bool reverse
 反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)
 
int type
 收藏类型,缺省表示所有类型
 

详细描述

分页查询收藏列表参数

成员函数说明

◆ ToJsonString()

std::string nim::QueryCollectsParm::ToJsonString ( const QueryCollectsParm info)
static

类成员变量说明

◆ exclude_id

uint64_t nim::QueryCollectsParm::exclude_id {0}

结束查询的最后一条收藏的id(不包含在查询结果中)缺省 可填0

◆ from_time

uint64_t nim::QueryCollectsParm::from_time {0}

起始时间,默认0

◆ limit

int nim::QueryCollectsParm::limit

本次查询的上限(最多100条)

◆ reverse

bool nim::QueryCollectsParm::reverse

反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)

◆ to_time

uint64_t nim::QueryCollectsParm::to_time {0}

结束时间,推荐当前时间+1小时

◆ type

int nim::QueryCollectsParm::type

收藏类型,缺省表示所有类型


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