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

#include <v2_nim_def_struct.hpp>

类 v2::V2NIMChatroomChatBannedNotificationAttachment 继承关系图:
v2::V2NIMChatroomNotificationAttachment v2::V2NIMMessageAttachment

Public 成员函数

 V2NIMChatroomChatBannedNotificationAttachment ()
 
- Public 成员函数 继承自 v2::V2NIMChatroomNotificationAttachment
 V2NIMChatroomNotificationAttachment ()
 
- Public 成员函数 继承自 v2::V2NIMMessageAttachment
virtual ~V2NIMMessageAttachment ()=default
 

Public 属性

bool chatBanned {false}
 成员是否被禁言
 
bool tempChatBanned {false}
 成员是否被临时禁言
 
uint64_t tempChatBannedDuration {0}
 成员临时禁言时长
 
- Public 属性 继承自 v2::V2NIMChatroomNotificationAttachment
V2NIMChatroomMessageNotificationType type {V2NIM_CHATROOM_MESSAGE_NOTIFICATION_TYPE_MEMBER_ENTER}
 通知类型
 
nstd::vector< nstd::stringtargetIds
 被操作的成员账号列表
 
nstd::vector< nstd::stringtargetNicks
 被操作成员的昵称列表
 
nstd::optional< nstd::stringtargetTag
 被操作的标签
 
nstd::string operatorId
 操作者
 
nstd::string operatorNick
 操作者昵称
 
nstd::optional< nstd::stringnotificationExtension
 扩展字段
 
nstd::vector< nstd::stringtags
 更新后的标签
 
nstd::optional< V2NIMChatroomUpdateParamschatroomUpdateParams
 
nstd::optional< V2NIMChatroomMemberchatroomMember
 
- Public 属性 继承自 v2::V2NIMMessageAttachment
nstd::string raw
 附件内容
 
V2NIMMessageAttachmentType attachmentType {V2NIM_MESSAGE_ATTACHMENT_TYPE_UNIVERSAL}
 

构造及析构函数说明

◆ V2NIMChatroomChatBannedNotificationAttachment()

v2::V2NIMChatroomChatBannedNotificationAttachment::V2NIMChatroomChatBannedNotificationAttachment ( )
inline

类成员变量说明

◆ chatBanned

bool v2::V2NIMChatroomChatBannedNotificationAttachment::chatBanned {false}

成员是否被禁言

◆ tempChatBanned

bool v2::V2NIMChatroomChatBannedNotificationAttachment::tempChatBanned {false}

成员是否被临时禁言

◆ tempChatBannedDuration

uint64_t v2::V2NIMChatroomChatBannedNotificationAttachment::tempChatBannedDuration {0}

成员临时禁言时长


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