# NotificationPayload | JavaScript SDK

# - [firebase](https://firebase.google.com/docs/reference/js/v8/firebase).
- [messaging](https://firebase.google.com/docs/reference/js/v8/firebase.messaging).
- NotificationPayload

Parameters that define how a push notification is displayed to users.

## Index

### Properties

- [body](https://firebase.google.com/docs/reference/js/v8/firebase.messaging.NotificationPayload#body)
- [image](https://firebase.google.com/docs/reference/js/v8/firebase.messaging.NotificationPayload#image)
- [title](https://firebase.google.com/docs/reference/js/v8/firebase.messaging.NotificationPayload#title)

## Properties

### Optional body

body: string The body of a notification.

### Optional image

image: string The URL of the image that is shown with the notification. See
[`notification.image`](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#notification) for supported image format.

### Optional title

title: string The title of a notification.