NIMChatroomNotificationContent Class Reference

Inherits from NIMNotificationContent : NSObject
Declared in NIMChatroomNotificationContent.h

Overview

聊天室通知内容

  eventType

聊天室通知事件类型

@property (nonatomic, assign, readonly) NIMChatroomEventType eventType

Discussion

聊天室通知事件类型

Declared In

NIMChatroomNotificationContent.h

  source

操作者

@property (nullable, nonatomic, copy, readonly) NIMChatroomNotificationMember *source

Discussion

操作者

Declared In

NIMChatroomNotificationContent.h

  targets

被操作者

@property (nullable, nonatomic, copy, readonly) NSArray<NIMChatroomNotificationMember*> *targets

Discussion

被操作者

Declared In

NIMChatroomNotificationContent.h

  notifyExt

通知信息

@property (nullable, nonatomic, copy, readonly) NSString *notifyExt

Discussion

通知信息

Declared In

NIMChatroomNotificationContent.h

  ext

拓展信息 @discusssion 不同的聊天室通知有不同的扩展信息 NIMChatroomEventTypeAddMuteTemporarily/NIMChatroomEventTypeRemoveMuteTemporarily 类型: 拓展信息为NSNumber,表示临时禁言时长

@property (nullable, nonatomic, copy, readonly) id ext

Discussion

拓展信息 @discusssion 不同的聊天室通知有不同的扩展信息 NIMChatroomEventTypeAddMuteTemporarily/NIMChatroomEventTypeRemoveMuteTemporarily 类型: 拓展信息为NSNumber,表示临时禁言时长

NIMChatroomEventTypeEnter 类型: 扩展信息为 NSDictionary , KEY 值为 NIMChatroomEventInfoMutedKey ,NIMChatroomEventInfoTempMutedKey, NIMChatroomEventInfoTempMutedDurationKey

NIMChatroomEventTypeQueueChange 类型: 扩展信息为 NSDictionary, KEY 值为 NIMChatroomEventInfoQueueChangeTypeKey , NIMChatroomEventInfoQueueChangeItemKey, NIMChatroomEventInfoQueueChangeItemValueKey

Declared In

NIMChatroomNotificationContent.h