veritatisdoloremque
Version:
Monorepo for the Firebase JavaScript SDK
23 lines (14 loc) • 1.08 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/messaging](./messaging.md) > [NotificationPayload](./messaging.notificationpayload.md)
## NotificationPayload interface
Currently supported fcm notification display parameters. Note that [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions) defines a full list of display notification parameters. This interface we only include what the SEND API support for clarity.
<b>Signature:</b>
```typescript
export interface NotificationPayload
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [body?](./messaging.notificationpayload.body.md) | string | <i>(Optional)</i> |
| [image?](./messaging.notificationpayload.image.md) | string | <i>(Optional)</i> |
| [title?](./messaging.notificationpayload.title.md) | string | <i>(Optional)</i> |