Attributes
public struct Attributes : Codable
A root object that stores information about a single user notification, such as the notification’s type, read status, and payload.
-
The type of the user notification.
Declaration
Swift
public let type: UserNotificationType
-
The payload of the user notification.
Declaration
Swift
public let payload: UserNotification.Payload
-
The description of the user notification.
Declaration
Swift
public let description: String
-
The creation date of the user notification.
Declaration
Swift
public let createdAt: Date
-
The read status of the user notification.
Declaration
Swift
public var readStatus: ReadStatus { get set }