Notification interface Stay organized with collections Save and categorize content based on your preferences.
A notification that can be included inMessage.
Signature:
exportinterfaceNotificationProperties
| Property | Type | Description |
|---|---|---|
| body | string | The notification body |
| imageUrl | string | URL of an image to be displayed in the notification. |
| title | string | The title of the notification. |
Notification.body
The notification body
Signature:
body?:string;Notification.imageUrl
URL of an image to be displayed in the notification.
Signature:
imageUrl?:string;Notification.title
The title of the notification.
Signature:
title?:string;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.