Skip to content

JourneyPushMessage

Source code in docs_src/capo_pinpoint/types/journey_push_message.py
class JourneyPushMessage(TypedDict, closed=True):
    time_to_live: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.</p> <p>This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.</p>"""

time_to_live instance-attribute

time_to_live: NotRequired[__string]

The number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.

This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.