From b9083c3b748811e61530d0664372e2147b7dc9b9 Mon Sep 17 00:00:00 2001 From: Redge Date: Fri, 17 Jan 2025 09:16:56 +0100 Subject: [PATCH] Update html5.markdown to add the silent parameter (#36936) --- source/_integrations/html5.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/html5.markdown b/source/_integrations/html5.markdown index b1c425cb28e..e02b3899b1f 100644 --- a/source/_integrations/html5.markdown +++ b/source/_integrations/html5.markdown @@ -83,7 +83,7 @@ data: #### Data -Any parameters that you pass in the notify payload that aren't valid for use in the HTML5 notification (`actions`, `badge`, `body`, `dir`, `icon`, `image`, `lang`, `renotify`, `requireInteraction`, `tag`, `timestamp`, `vibrate`, `priority`, `ttl`) will be sent back to you in the [callback events](#automating-notification-events). +Any parameters that you pass in the notify payload that aren't valid for use in the HTML5 notification (`actions`, `badge`, `body`, `dir`, `icon`, `image`, `lang`, `renotify`, `requireInteraction`, `tag`, `timestamp`, `vibrate`, `priority`, `ttl`, `silent`) will be sent back to you in the [callback events](#automating-notification-events). ```yaml title: Front door @@ -195,7 +195,7 @@ Common event payload parameters are: | Parameter | Description | | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `action` | The `action` key that you set when sending the notification of the action clicked. Only appears in the `clicked` event. | -| `data` | The data dictionary you originally passed in the notify payload, minus any parameters that were added to the HTML5 notification (`actions`, `badge`, `body`, `dir`, `icon`, `image`, `lang`, `renotify`, `requireInteraction`, `tag`, `timestamp`, `vibrate`). | +| `data` | The data dictionary you originally passed in the notify payload, minus any parameters that were added to the HTML5 notification (`actions`, `badge`, `body`, `dir`, `icon`, `image`, `lang`, `renotify`, `requireInteraction`, `tag`, `timestamp`, `vibrate`, `silent`). | | `tag` | The unique identifier of the notification. Can be overridden when sending a notification to allow for replacing existing notifications. | | `target` | The target that this notification callback describes. | | `type` | The type of event callback received. Can be `received`, `clicked` or `closed`. |