Instance Attribute Details

#action ⇒ String

The action that occurs if the user taps a push notification
delivered by the campaign: OPEN_APP - Your app launches, or it
becomes the foreground app if it has been sent to the background.
This is the default action. DEEP_LINK - Uses deep linking features
in iOS and Android to open your app and display a designated user
interface within the app. URL - The default mobile browser on the
user's device launches and opens a web page at the URL you specify.
Possible values include: OPEN_APP | DEEP_LINK | URL

#collapse_key ⇒ String

This parameter identifies a group of messages (e.g., with
collapse_key: "Updates Available") that can be collapsed, so that
only the last message gets sent when delivery can be resumed. This
is intended to avoid sending too many of the same messages when the
device comes back online or becomes active.

#priority ⇒ String

The message priority. Amazon Pinpoint uses this value to set the FCM
or GCM priority parameter when it sends the message. Accepts the
following values: "Normal" - Messages might be delayed. Delivery
is optimized for battery usage on the receiving device. Use normal
priority unless immediate delivery is required. "High" - Messages
are sent immediately and might wake a sleeping device. The
equivalent values for APNs messages are "5" and "10". Amazon
Pinpoint accepts these values here and converts them. For more
information, see About FCM Messages in the Firebase documentation.

#time_to_live ⇒ Integer

The length of time (in seconds) that FCM or GCM stores and attempts
to deliver the message. If unspecified, the value defaults to the
maximum, which is 2,419,200 seconds (28 days). Amazon Pinpoint uses
this value to set the FCM or GCM time_to_live parameter.