NIM PC Cross Platform SDK
|
从云端导入消息记录参数定义 More...
#include <nim_msglog_def.h>
Public Attributes | |
enum NIMSessionType | to_type_ |
enum 会话类型,双人0,群组1 (nim_msglog_def.h) | |
int | limit_count_ |
int 本次查询的消息条数上限(最多100条) | |
int64_t | from_time_ |
int64_t 起始时间点,单位:毫秒 | |
int64_t | end_time_ |
int64_t 结束时间点,单位:毫秒 | |
int64_t | end_msg_id_ |
int64_t 结束查询的最后一条消息的server_msg_id(不包含在查询结果中) | |
bool | reverse_ |
bool true:反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false) | |
bool | need_save_to_local_ |
bool 将在线查询结果保存到本地,false: 不保存 | |
bool | auto_download_attachment_ |
bool 查询结果回来后,是否需要sdk自动下载消息附件。true:需要,false:不需要 | |
enum NIMMessageType * | msg_type_list_ |
list 要获取或排除掉的消息类型 由 is_exclusion_type_ 参数决定 | |
int | type_list_length_ |
int type list 长度 | |
bool | is_exclusion_type_ |
bool true : 获取除msg_type_list_中指定的所有类型消息 ,false :只获取 msg_type_list_ 中指定的类型的消息 | |
从云端导入消息记录参数定义