Skip to main content

Properties (25)

Property Type Default Required Description
actions⚓︎ NotificationAction[] x x

List of action attached to the notification. Those will appear as buttons in the notification UI

appIcon⚓︎ string x x

Icon of the app that has raised the notification.

appTitle⚓︎ string x x

Title of the app that has raised the notification.

badge⚓︎ string x x x
body⚓︎ string x x x
clickInterop⚓︎ InteropActionSettings x x

Set to make the notification click invoke an interop method with specific arguments

data⚓︎ any x x x
dir⚓︎ "auto" | "ltr" | "rtl" x x x
focusPlatformOnDefaultClick⚓︎ boolean x x

io.Connect Browser* only. If set to true, the platform app will be focused when the user clicks on the notification. Defaults to false.

icon⚓︎ string x x x
id⚓︎ string x x
image⚓︎ string x x x
instanceId⚓︎ string x

ID of the app instance that has raised the notification.

lang⚓︎ string x x x
renotify⚓︎ boolean x x x
requireInteraction⚓︎ boolean x x x
severity⚓︎ "Low" | "Medium" | "High" | "Critical" | "None" x x

Severity of the alert

showInPanel⚓︎ boolean x x

Indicates whether the notification should appear in notification panels. Defaults to true

showToast⚓︎ boolean x x

Indicates whether a native toast will be shown or not. Defaults to true

silent⚓︎ boolean x x x
state⚓︎ State x x

State of the raised notification.

tag⚓︎ string x x x
timestamp⚓︎ number x x x
title⚓︎ string x

The title of the notification

vibrate⚓︎ number[] x x x