Home > @firebase/messaging > NotificationPayload
NotificationPayload interface
Display notification details. They are sent through the Send API
Signature:
export interface NotificationPayload
Properties
Property | Type | Description |
---|---|---|
body? | string | (Optional) The notification's body text. |
image? | string | (Optional) The URL of an image that is downloaded on the device and displayed in the notification. |
title? | string | (Optional) The notification's title. |