聊天室通知
More...
#include <nim_chatroom_helper.h>
◆ ChatRoomNotification()
nim_chatroom::ChatRoomNotification::ChatRoomNotification |
( |
| ) |
|
|
inline |
◆ ParseFromJsonValue()
void nim_chatroom::ChatRoomNotification::ParseFromJsonValue |
( |
const nim_cpp_wrapper_util::Json::Value & |
values | ) |
|
|
inline |
从JsonValue中解析得到聊天室通知
- Parameters
-
- Returns
- void
◆ ext_
std::string nim_chatroom::ChatRoomNotification::ext_ |
上层开发自定义的事件通知扩展字段, 必须为可以解析为json的非格式化的字符串
◆ id_
NIMChatRoomNotificationId nim_chatroom::ChatRoomNotification::id_ |
◆ msg_id_
std::string nim_chatroom::ChatRoomNotification::msg_id_ |
Added IM 8.7.0 当通知为聊天室撤回消息事件时才有,代表当前被撤回的消息 ID
◆ msg_timetag_
uint64_t nim_chatroom::ChatRoomNotification::msg_timetag_ |
当通知为聊天室撤回消息事件时才有,代表当前被撤回消息的时间戳
◆ muted_
bool nim_chatroom::ChatRoomNotification::muted_ |
◆ operator_id_
std::string nim_chatroom::ChatRoomNotification::operator_id_ |
◆ operator_nick_
std::string nim_chatroom::ChatRoomNotification::operator_nick_ |
◆ queue_change_
std::string nim_chatroom::ChatRoomNotification::queue_change_ |
◆ target_ids_
std::list<std::string> nim_chatroom::ChatRoomNotification::target_ids_ |
◆ target_nick_
std::list<std::string> nim_chatroom::ChatRoomNotification::target_nick_ |
◆ target_tag_
std::string nim_chatroom::ChatRoomNotification::target_tag_ |
Added IM 8.4.0 当通知为聊天室按标签禁言/解禁事件才有,代表当前被禁言的 tag
◆ temp_mute_duration_
int64_t nim_chatroom::ChatRoomNotification::temp_mute_duration_ |
当通知为临时禁言相关时有该值,禁言时代表本次禁言的时长(秒),解禁时代表本次禁言剩余时长(秒); 当通知为聊天室进入事件,代表临时禁言时长(秒); 其他通知事件不带该数据
◆ temp_muted_
bool nim_chatroom::ChatRoomNotification::temp_muted_ |
The documentation for this struct was generated from the following file: