06 #content
What's in a message
| Field | Rule |
|---|---|
content.default_language | Required; must have a translation. |
content.translations[] | 1 to 60, one per language: title, subtitle (iOS), body (required, up to 2,000 characters). |
content.image_url | An HTTPS image. |
content.launch_url | Where a tap leads: https, http, or an app scheme you allowed. |
content.additional_data | Up to 50 string pairs for your app. |
category_id | One of your project's categories, for reports. |
android.* | Channel, small icon, accent color, sound, priority, visibility, group. |
ios.* | Sound, badge (none, set, increase), interruption level (passive, active, time-sensitive, critical), thread. |
ttl_seconds | 0 to 28 days. Default 4 hours for local-time messages, 1 day otherwise. |
collapse_key | A newer message with the same key replaces the older one. |
Each person gets the translation for their language. If there isn't one, Traditional and Simplified Chinese stand in for each other, and then the default language is used. Every translation must fit the platform's size limit, which the server checks before anything is sent.
The android.* and ios.* rows are the mobile push options. Everything above them is shared by every channel.