NIM PC Cross Platform SDK
|
#include <nim_cpp_msglog.h>
Public Attributes | |
std::string | id_ |
查询id,对方的account id或者群组tid | |
std::string | keyword_ |
要查询的关键字 | |
nim::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 结束时间点,单位:毫秒 | |
bool | reverse_ |
bool true:反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false) | |
Friends | |
class | MsgLog |
根据关键字在线查询消息参数(不包括系统消息)