View definition

(*Payload).AlertActionLocKey

Defined in github.com/sideshow/apns2/payload/builder.go

Description

AlertActionLocKey sets the aps alert action localization key on the payload. This is the the string used as a key to get a localized string in the current localization to use for the notfication right button’s title instead of “View”. See Localized Formatted Strings in Apple documentation for more information.

{"aps":{"alert":{"action-loc-key":key}}}

AlertActionLocKey is referenced in 2 repositories

github.com/sideshow/apns2 github.com/appleboy/gorush