Represents the WebPush protocol options that can be included in an admin.messaging.Message.

Index

Properties

Optional data

data: object

A collection of data fields.

Type declaration

  • [key: string]: string

Optional fcmOptions

fcmOptions: WebpushFcmOptions

Options for features provided by the FCM SDK for Web.

Optional headers

headers: object

A collection of WebPush headers. Header values must be strings.

See WebPush specification for supported headers.

Type declaration

  • [key: string]: string

Optional notification

notification: WebpushNotification

A WebPush notification payload to be included in the message.