NIMSystemNotification Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NIMSystemNotification.h |
notificationId
Notification ID
@property (nonatomic, assign, readonly) int64_t notificationIdDiscussion
Notification ID
Declared In
NIMSystemNotification.h
type
Notification type
@property (nonatomic, assign, readonly) NIMSystemNotificationType typeDiscussion
Notification type
Declared In
NIMSystemNotification.h
timestamp
Timestamp
@property (nonatomic, assign, readonly) NSTimeInterval timestampDiscussion
Timestamp
Declared In
NIMSystemNotification.h
sourceID
Operator
@property (nullable, nonatomic, copy, readonly) NSString *sourceIDDiscussion
Operator
Declared In
NIMSystemNotification.h
targetID
Target ID, group ID or user ID
@property (nullable, nonatomic, copy, readonly) NSString *targetIDDiscussion
Target ID, group ID or user ID
Declared In
NIMSystemNotification.h
postscript
Additional message
@property (nullable, nonatomic, copy, readonly) NSString *postscriptDiscussion
Additional message
Declared In
NIMSystemNotification.h
read
Check if a message is read
@property (nonatomic, assign) BOOL readDiscussion
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 handleStatusDiscussion
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 *notifyExtDiscussion
Custom extension field for system notifications
Declared In
NIMSystemNotification.h
attachment
Message attachment
@property (nullable, nonatomic, strong, readonly) id attachmentDiscussion
Message attachment
extra information, only the friend request notification has attachments The attachment added by the friend request is NIMUserAddAttachment
Declared In
NIMSystemNotification.h