6#ifndef NIM_SDK_DLL_EXPORT_HEADERS_TALKEX_DEF_COLLECT_H_
7#define NIM_SDK_DLL_EXPORT_HEADERS_TALKEX_DEF_COLLECT_H_
void(* nim_talkex_collect_update_collect_ext_cb_func)(int code, const char *collect_info, const void *user_data)
Definition: nim_talkex_def_collect.h:39
static const char * kNIMCollectInfoKeyUpdateTime
uint64_t,更新时间
Definition: nim_talkex_def_collect.h:67
static const char * kNIMQueryCollectKeyFromTime
uint64_t,起始时间,默认0
Definition: nim_talkex_def_collect.h:85
static const char * kNIMMatchCollectInfoKeyCreateTime
uint64_t,创建时间
Definition: nim_talkex_def_collect.h:77
static const char * kNIMCollectInfoKeyUniqueID
string,去重字段,拥有要同去重字段的收藏将会被覆盖
Definition: nim_talkex_def_collect.h:63
static const char * kNIMCollectInfoKeyID
uint64_t,ID
Definition: nim_talkex_def_collect.h:55
static const char * kNIMMatchCollectInfoKeyID
uint64_t,ID
Definition: nim_talkex_def_collect.h:75
static const char * kNIMCollectInfoKeyCreateTime
uint64_t,创建时间
Definition: nim_talkex_def_collect.h:65
void(* nim_talkex_collect_add_collect_cb_func)(int code, const char *collect_info, const void *user_data)
Definition: nim_talkex_def_collect.h:21
void(* nim_talkex_collect_remove_collects_cb_func)(int code, int count, const void *user_data)
Definition: nim_talkex_def_collect.h:30
static const char * kNIMQueryCollectKeyToTime
uint64_t,结束时间,推荐当前时间+1小时
Definition: nim_talkex_def_collect.h:87
static const char * kNIMQueryCollectKeyLimit
int,本次查询的上限(最多100条)
Definition: nim_talkex_def_collect.h:91
static const char * kNIMCollectInfoKeyExt
string,扩展字段,最大1024
Definition: nim_talkex_def_collect.h:61
static const char * kNIMQueryCollectKeyExcludeID
uint64_t,结束查询的最后一条收藏的id(不包含在查询结果中) 缺省 可填0
Definition: nim_talkex_def_collect.h:89
static const char * kNIMQueryCollectKeyReverse
bool,反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)
Definition: nim_talkex_def_collect.h:93
static const char * kNIMCollectInfoKeyType
int,收藏类型,开发者可根据业务自行定义
Definition: nim_talkex_def_collect.h:57
void(* nim_talkex_collect_query_collects_cb_func)(int code, int total_count, const char *collect_info_list, const void *user_data)
Definition: nim_talkex_def_collect.h:49
static const char * kNIMQueryCollectKeyType
int 收藏类型,缺省(0)表示所有类型
Definition: nim_talkex_def_collect.h:95
static const char * kNIMCollectInfoKeyData
string,数据,最大20480
Definition: nim_talkex_def_collect.h:59
NIM SDK 及 NIM ChatRoom SDK 公用头文件