NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_chatroom::ChatRoomGetMsgHistoryParameters结构体 参考

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

#include <nim_chatroom_helper.h>

Public 成员函数

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

Public 属性

int64_t start_timetag_
 开始时间,单位毫秒
 
int limit_
 本次返回的消息数量
 
bool reverse_
 是否反向查询
 
std::vector< NIMChatRoomMsgTypemsg_types_
 类型
 

静态 Private 属性

static std::vector< NIMChatRoomMsgTypekMsg_Types_List
 

详细描述

获取聊天室消息历史参数

构造及析构函数说明

◆ ChatRoomGetMsgHistoryParameters()

nim_chatroom::ChatRoomGetMsgHistoryParameters::ChatRoomGetMsgHistoryParameters ( )
inline

构造函数

成员函数说明

◆ RemoveMessageType()

void nim_chatroom::ChatRoomGetMsgHistoryParameters::RemoveMessageType ( NIMChatRoomMsgType  type)
inline

◆ ToJsonString()

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

组装Json Value字符串

返回
string Json Value字符串

类成员变量说明

◆ kMsg_Types_List

std::vector< NIMChatRoomMsgType > nim_chatroom::ChatRoomGetMsgHistoryParameters::kMsg_Types_List
staticprivate

◆ 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_

开始时间,单位毫秒


该结构体的文档由以下文件生成: