NIM SDK API  9.0.0
Public Attributes | Friends | List of all members
nim::MsgLog::QueryMsgByKeywordOnlineParam Class Reference

#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
 

Detailed Description

根据关键字在线查询消息参数(不包括系统消息)

Member Data Documentation

◆ end_time_

int64_t nim::MsgLog::QueryMsgByKeywordOnlineParam::end_time_

int64_t 结束时间点,单位:毫秒

◆ from_time_

int64_t nim::MsgLog::QueryMsgByKeywordOnlineParam::from_time_

int64_t 起始时间点,单位:毫秒

◆ id_

std::string nim::MsgLog::QueryMsgByKeywordOnlineParam::id_

查询id,对方的account id或者群组tid

◆ keyword_

std::string nim::MsgLog::QueryMsgByKeywordOnlineParam::keyword_

要查询的关键字

◆ limit_count_

int nim::MsgLog::QueryMsgByKeywordOnlineParam::limit_count_

int 本次查询的消息条数上限(最多100条)

◆ reverse_

bool nim::MsgLog::QueryMsgByKeywordOnlineParam::reverse_

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

◆ to_type_

nim::NIMSessionType nim::MsgLog::QueryMsgByKeywordOnlineParam::to_type_

enum 会话类型,双人0,群组1 (nim_msglog_def.h)


The documentation for this class was generated from the following file: