MessagingPayload interface Stay organized with collections Save and categorize content based on your preferences.
Interface representing a Firebase Cloud Messaging message payload. One or both of thedata andnotification keys are required.
SeeBuild send requests for code samples and detailed documentation.
Signature:
exportinterfaceMessagingPayloadProperties
| 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;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.