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

通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时 More...

#include <nim_chatroom_helper.h>

Public Member Functions

void ParseFromNotification (const ChatRoomNotification &notification)
 从聊天室通知中解析得到队列变更具体内容 More...
 

Public Attributes

std::string type_
 
std::string key_
 
std::string value_
 
std::map< std::string, std::string > changed_values_
 

Detailed Description

通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时

Member Function Documentation

◆ ParseFromNotification()

void nim_chatroom::ChatRoomQueueBatchChangedNotification::ParseFromNotification ( const ChatRoomNotification notification)
inline

从聊天室通知中解析得到队列变更具体内容

Parameters
[in]notification聊天室通知
Returns
void

Member Data Documentation

◆ changed_values_

std::map<std::string, std::string> nim_chatroom::ChatRoomQueueBatchChangedNotification::changed_values_

队列变更元素的Value

◆ key_

std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::key_

队列变更元素的Key

◆ type_

std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::type_

队列变更类型 OFFER, POLL, DROP

◆ value_

std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::value_

队列变更元素的Value


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