Represents the WebPush-specific notification options that can be included in admin.messaging.WebpushConfig. This supports most of the standard options as defined in the Web Notification specification.
An array of notification actions representing the actions available to the user when the notification is presented.
URL of the image used to represent the notification when there is not enough space to display the notification itself.
Body text of the notification.
Arbitrary data that you want associated with the notification. This can be of any data type.
The direction in which to display the notification. Must be one
of auto, ltr or rtl.
URL to the notification icon.
URL of an image to be displayed in the notification.
The notification's language as a BCP 47 language tag.
A boolean specifying whether the user should be notified after a new notification replaces an old one. Defaults to false.
Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically. Defaults to false.
A boolean specifying whether the notification should be silent. Defaults to false.
An identifying tag for the notification.
Timestamp of the notification. Refer to https://developer.mozilla.org/en-US/docs/Web/API/notification/timestamp for details.
Title text of the notification.
A vibration pattern for the device's vibration hardware to emit when the notification fires.
Generated using TypeDoc
Represents the WebPush-specific notification options that can be included in admin.messaging.WebpushConfig. This supports most of the standard options as defined in the Web Notification specification.