NIMChatroomNotificationContent Class Reference

Inherits from NIMNotificationContent : NSObject
Declared in NIMChatroomNotificationContent.h

Overview

Notification content

  eventType

Event type

@property (nonatomic, assign, readonly) NIMChatroomEventType eventType

Discussion

Event type

Declared In

NIMChatroomNotificationContent.h

  source

Operator

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

Discussion

Operator

Declared In

NIMChatroomNotificationContent.h

  targets

Targets

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

Discussion

Targets

Declared In

NIMChatroomNotificationContent.h

  notifyExt

Notification message

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

Discussion

Notification message

Declared In

NIMChatroomNotificationContent.h

  revokedMessageId

ID of a recalled message

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

Discussion

ID of a recalled message

Declared In

NIMChatroomNotificationContent.h

  revokedMessageTime

Time a message was recalled

@property (nonatomic, readonly) NSTimeInterval revokedMessageTime

Discussion

Time a message was recalled

Declared In

NIMChatroomNotificationContent.h

  ext

Extension info

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

Discussion

Extension info

Different notifications have different extension information NIMChatroomEventTypeAddMuteTemporarily/NIMChatroomEventTypeRemoveMuteTemporarily type: NSNumber indicates the temp mute duration

NIMChatroomEventTypeEnter type: NSDictionary has a key value of NIMChatroomEventInfoMutedKey, NIMChatroomEventInfoTempMutedKey, and NIMChatroomEventInfoTempMutedDurationKey

NIMChatroomEventTypeQueueChange type: NSDictionary has a key value of NIMChatroomEventInfoQueueChangeTypeKey, NIMChatroomEventInfoQueueChangeItemKey, and NIMChatroomEventInfoQueueChangeItemValueKey

Declared In

NIMChatroomNotificationContent.h