Properties

collapseKey

(string or undefined)

Collapse key for the message. Collapse key serves as an identifier for a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. A maximum of four different collapse keys may be active at any given time.

data

(non-null Object or undefined)

A collection of data fields to be included in the message. All values must be strings. When provided, overrides any data fields set on the top-level admin.messaging.Message.

notification

(non-null admin.messaging.AndroidNotification or undefined)

Android notification to be included in the message.

priority

(string or undefined)

Priority of the message. Must be either normal or high.

restrictedPackageName

(string or undefined)

Package name of the application where the registration tokens must match in order to receive the message.

ttl

(number or undefined)

Time-to-live duration of the message in milliseconds.