Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.97 KB

File metadata and controls

20 lines (15 loc) · 1.97 KB

UpdateLiveActivityRequest

Properties

Name Type Description Notes
name str An internal name to assist with your campaign organization. This does not get displayed in the message itself.
event str
event_updates {str: (bool, date, datetime, dict, float, int, list, str, none_type)} This must match the ContentState interface you have defined within your Live Activity in your app.
contents LanguageStringMap [optional]
headings LanguageStringMap [optional]
sound str Sound file that is included in your app to play instead of the default device notification sound. Omit to disable vibration and sound for the notification. [optional]
stale_date int Accepts Unix timestamp in seconds. When time reaches the configured stale date, the system considers the Live Activity out of date, and the ActivityState of the Live Activity changes to ActivityState.stale. [optional]
dismissal_date int Accepts Unix timestamp in seconds; only allowed if event is "end" [optional]
priority int Delivery priority through the the push provider (APNs). Pass 10 for higher priority notifications, or 5 for lower priority notifications. Lower priority notifications are sent based on the power considerations of the end user's device. If not set, defaults to 10. Some providers (APNs) allow for a limited budget of high priority notifications per hour, and if that budget is exceeded, the provider may throttle notification delivery. [optional]
any string name bool, date, datetime, dict, float, int, list, str, none_type any string name can be used but the value must be the correct type [optional]

[Back to Model list] [Back to API list] [Back to README]