Versions in this module Expand all Collapse all v1 v1.0.2 Oct 6, 2022 v1.0.1 Oct 6, 2022 Changes in this version + func GetAps(data map[string]interface{}) *aps + type EInterruptionLevel string + const InterruptionLevelActive + const InterruptionLevelCritical + const InterruptionLevelPassive + const InterruptionLevelTimeSensitive + type Payload struct + func NewPayload() *Payload + func (p *Payload) Alert(alert interface{}) *Payload + func (p *Payload) AlertAction(action string) *Payload + func (p *Payload) AlertActionLocKey(key string) *Payload + func (p *Payload) AlertBody(body string) *Payload + func (p *Payload) AlertLaunchImage(image string) *Payload + func (p *Payload) AlertLocArgs(args []string) *Payload + func (p *Payload) AlertLocKey(key string) *Payload + func (p *Payload) AlertSubtitle(subtitle string) *Payload + func (p *Payload) AlertSummaryArg(key string) *Payload + func (p *Payload) AlertSummaryArgCount(key int) *Payload + func (p *Payload) AlertTitle(title string) *Payload + func (p *Payload) AlertTitleLocArgs(args []string) *Payload + func (p *Payload) AlertTitleLocKey(key string) *Payload + func (p *Payload) Badge(b int) *Payload + func (p *Payload) Category(category string) *Payload + func (p *Payload) ContentAvailable() *Payload + func (p *Payload) Custom(key string, val interface{}) *Payload + func (p *Payload) InterruptionLevel(interruptionLevel EInterruptionLevel) *Payload + func (p *Payload) MarshalJSON() ([]byte, error) + func (p *Payload) Mdm(mdm string) *Payload + func (p *Payload) MutableContent() *Payload + func (p *Payload) RelevanceScore(b float32) *Payload + func (p *Payload) Sound(sound interface{}) *Payload + func (p *Payload) SoundName(name string) *Payload + func (p *Payload) SoundVolume(volume float32) *Payload + func (p *Payload) ThreadID(threadID string) *Payload + func (p *Payload) URLArgs(urlArgs []string) *Payload + func (p *Payload) UnsetBadge() *Payload + func (p *Payload) UnsetRelevanceScore() *Payload + func (p *Payload) ZeroBadge() *Payload