package
0.25.0
Repository: https://github.com/sideshow/apns2.git
Documentation: pkg.go.dev

# Functions

NewPayload returns a new Payload struct.

# Constants

InterruptionLevelActive is used to indicate the importance and delivery timing of a notification.
InterruptionLevelCritical is used to indicate the importance and delivery timing of a notification.
InterruptionLevelPassive is used to indicate that notification be delivered in a passive manner.
InterruptionLevelTimeSensitive is used to indicate the importance and delivery timing of a notification.
LiveActivityEventEnd is used to end an live activity.
LiveActivityEventUpdate is used to update an live activity.

# Structs

Payload represents a notification which holds the content that will be marshalled as JSON.

# Type aliases

InterruptionLevel defines the value for the payload aps interruption-level.
LiveActivityEvent defines the value for the payload aps event.