2020-08-31 01:33:11 +02:00
|
|
|
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
public struct PushNotification: Codable {
|
|
|
|
public let accessToken: String
|
|
|
|
public let body: String
|
|
|
|
public let title: String
|
|
|
|
public let icon: URL
|
|
|
|
public let notificationId: Int
|
2021-02-04 06:24:00 +01:00
|
|
|
public let notificationType: MastodonNotification.NotificationType
|
2020-08-31 01:33:11 +02:00
|
|
|
public let preferredLocale: String
|
|
|
|
}
|