We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 142b454 commit e5c68d5Copy full SHA for e5c68d5
payload/builder.go
@@ -166,7 +166,7 @@ func (p *Payload) AlertTitleLocArgs(args []string) *Payload {
166
// This will display a short string describing the purpose of the notification.
167
// Apple Watch & Safari display this string as part of the notification interface.
168
//
169
-// {"aps":{"subtitle":"subtitle"}}
+// {"aps":{"alert":{"subtitle":"subtitle"}}}
170
func (p *Payload) AlertSubtitle(subtitle string) *Payload {
171
p.aps().alert().Subtitle = subtitle
172
return p
0 commit comments