NIM SDK API  9.0.0
Public Member Functions | Public Attributes | List of all members
nim_chatroom::ChatRoomGetMsgHistoryParameters Struct Reference

获取聊天室消息历史参数 More...

#include <nim_chatroom_helper.h>

Public Member Functions

 ChatRoomGetMsgHistoryParameters ()
 
void RemoveMessageType (NIMChatRoomMsgType type)
 
std::string ToJsonString () const
 组装Json Value字符串 More...
 

Public Attributes

int64_t start_timetag_
 
int limit_
 
bool reverse_
 
std::vector< NIMChatRoomMsgType > msg_types_
 

Detailed Description

获取聊天室消息历史参数

Constructor & Destructor Documentation

◆ ChatRoomGetMsgHistoryParameters()

nim_chatroom::ChatRoomGetMsgHistoryParameters::ChatRoomGetMsgHistoryParameters ( )
inline

构造函数

Member Function Documentation

◆ ToJsonString()

std::string nim_chatroom::ChatRoomGetMsgHistoryParameters::ToJsonString ( ) const
inline

组装Json Value字符串

Returns
string Json Value字符串

Member Data Documentation

◆ limit_

int nim_chatroom::ChatRoomGetMsgHistoryParameters::limit_

本次返回的消息数量

◆ msg_types_

std::vector<NIMChatRoomMsgType> nim_chatroom::ChatRoomGetMsgHistoryParameters::msg_types_

类型

◆ reverse_

bool nim_chatroom::ChatRoomGetMsgHistoryParameters::reverse_

是否反向查询

◆ start_timetag_

int64_t nim_chatroom::ChatRoomGetMsgHistoryParameters::start_timetag_

开始时间,单位毫秒


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