Interface representing a Firebase Cloud Messaging message payload. One or both of the data and notification keys are required.
See [Build send requests](/docs/cloud-messaging/send-message) for code samples and detailed documentation.
Signature:
export interface MessagingPayload 
Properties
| Property | Type | Description | 
|---|---|---|
| data | DataMessagePayload | The data message payload. | 
| notification | NotificationMessagePayload | The notification message payload. | 
MessagingPayload.data
The data message payload.
Signature:
data?: DataMessagePayload;
MessagingPayload.notification
The notification message payload.
Signature:
notification?: NotificationMessagePayload;