Firebase Docs Reference Interface: MessagingPayload admin.messaging.MessagingPayload interface static Interface representing a Firebase Cloud Messaging message payload. One or both of the data and notification keys are required. See Defining the message payload for code samples and detailed documentation. Properties data non-null admin.messaging.DataMessagePayload The data message payload. notification non-null admin.messaging.NotificationMessagePayload The notification message payload. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated February 2, 2017.