Properties

android

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

Android-specific information to be included in the message.

apns

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

Information specific to the Apple Push Notification Service (APNS).

data

(non-null Object with string properties or undefined)

A collection of data fields to be included in the message. All values must be strings.

notification

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

A notification payload to be included in the message.

tokens

non-null Array of string

A non-empty array containing up to 100 device registration tokens.

webpush

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

WebPush-specific information to be included in the message.