feat(BRIDGE-37): added remote notification event types

This commit is contained in:
ElectroNafta
2024-08-27 15:24:59 +02:00
committed by ElectroNafta
parent ca6bb6449b
commit d663a2ef90
2 changed files with 18 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ type Event struct {
Addresses []AddressEvent
Notifications []NotificationEvent
UsedSpace *int64
}

16
notification_types.go Normal file
View File

@@ -0,0 +1,16 @@
package proton
type NotificationPayload struct {
Title string
Subtitle string
Body string
}
type NotificationEvent struct {
ID string
UID string
UserID string
Type string
Time int64
Payload NotificationPayload
}