NIM SDK API
9.0.0
|
#include <nim_cpp_msglog.h>
Public Attributes | |
std::string | id_ |
std::string | keyword_ |
nim::NIMSessionType | to_type_ |
int | limit_count_ |
int64_t | from_time_ |
int64_t | end_time_ |
bool | reverse_ |
Friends | |
class | MsgLog |
根据关键字在线查询消息参数(不包括系统消息)
int64_t nim::MsgLog::QueryMsgByKeywordOnlineParam::end_time_ |
int64_t 结束时间点,单位:毫秒
int64_t nim::MsgLog::QueryMsgByKeywordOnlineParam::from_time_ |
int64_t 起始时间点,单位:毫秒
std::string nim::MsgLog::QueryMsgByKeywordOnlineParam::id_ |
查询id,对方的account id或者群组tid
std::string nim::MsgLog::QueryMsgByKeywordOnlineParam::keyword_ |
要查询的关键字
int nim::MsgLog::QueryMsgByKeywordOnlineParam::limit_count_ |
int 本次查询的消息条数上限(最多100条)
bool nim::MsgLog::QueryMsgByKeywordOnlineParam::reverse_ |
bool true:反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)
nim::NIMSessionType nim::MsgLog::QueryMsgByKeywordOnlineParam::to_type_ |
enum 会话类型,双人0,群组1 (nim_msglog_def.h)