This commit is contained in:
popaprozac 2025-03-27 14:43:23 -07:00
commit b313f2cee1

View file

@ -58,7 +58,7 @@ notifier.SendNotification(notifications.NotificationOptions{
ID: "unique-id",
Title: "New Calendar Invite",
Subtitle: "From: Jane Doe", // Optional
Body: "Tap to view the event"
Body: "Tap to view the event",
})
```
@ -135,7 +135,7 @@ notifier.SendNotification(notifications.NotificationOptions{
ID: "unique-id",
Title: "New Calendar Invite",
Subtitle: "From: Jane Doe", // Optional
Body: "Tap to view the event"
Body: "Tap to view the event",
Data: map[string]interface{}{
"sender": "jane.doe@example.com",
"timestamp": "2025-03-10T15:30:00Z",