NIMSystemNotification Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMSystemNotification.h |
notificationId
Notification ID
@property (nonatomic, assign, readonly) int64_t notificationId
Discussion
Notification ID
Declared In
NIMSystemNotification.h
type
Notification type
@property (nonatomic, assign, readonly) NIMSystemNotificationType type
Discussion
Notification type
Declared In
NIMSystemNotification.h
timestamp
Timestamp
@property (nonatomic, assign, readonly) NSTimeInterval timestamp
Discussion
Timestamp
Declared In
NIMSystemNotification.h
sourceID
Operator
@property (nullable, nonatomic, copy, readonly) NSString *sourceID
Discussion
Operator
Declared In
NIMSystemNotification.h
targetID
Target ID, group ID or user ID
@property (nullable, nonatomic, copy, readonly) NSString *targetID
Discussion
Target ID, group ID or user ID
Declared In
NIMSystemNotification.h
postscript
Additional message
@property (nullable, nonatomic, copy, readonly) NSString *postscript
Discussion
Additional message
Declared In
NIMSystemNotification.h
read
Check if a message is read
@property (nonatomic, assign) BOOL read
Discussion
Check if a message is read
Editing the property will not modify the data in the database
Declared In
NIMSystemNotification.h
handleStatus
Message handling status
@property (nonatomic, assign) NSInteger handleStatus
Discussion
Message handling status
Editing this property will automatically update the data in the database, SDK callers can persist can use this value to persist their message processing results. The default value is 0.
Declared In
NIMSystemNotification.h
notifyExt
Custom extension field for system notifications
@property (nullable, nonatomic, readonly) NSString *notifyExt
Discussion
Custom extension field for system notifications
Declared In
NIMSystemNotification.h
attachment
Message attachment
@property (nullable, nonatomic, strong, readonly) id attachment
Discussion
Message attachment
extra information, only the friend request notification has attachments The attachment added by the friend request is NIMUserAddAttachment
Declared In
NIMSystemNotification.h