MCPcopy
hub / github.com/sideshow/apns2 / alert

Struct alert

payload/builder.go:63–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63type alert struct {
64 Action string `json:"action,omitempty"`
65 ActionLocKey string `json:"action-loc-key,omitempty"`
66 Body string `json:"body,omitempty"`
67 LaunchImage string `json:"launch-image,omitempty"`
68 LocArgs []string `json:"loc-args,omitempty"`
69 LocKey string `json:"loc-key,omitempty"`
70 Title string `json:"title,omitempty"`
71 Subtitle string `json:"subtitle,omitempty"`
72 TitleLocArgs []string `json:"title-loc-args,omitempty"`
73 TitleLocKey string `json:"title-loc-key,omitempty"`
74 SubtitleLocArgs []string `json:"subtitle-loc-args,omitempty"`
75 SubtitleLocKey string `json:"subtitle-loc-key,omitempty"`
76 SummaryArg string `json:"summary-arg,omitempty"`
77 SummaryArgCount int `json:"summary-arg-count,omitempty"`
78}
79
80type sound struct {
81 Critical int `json:"critical,omitempty"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected