import { Notification } from "https://deno.land/x/deno_notify@1.4.3/ts/notification.ts";
Properties
Set the body
.
Available on all platforms.
Multiline textual content of the notification. Each line should be treated as a paragraph. Simple html markup may be supported on some platforms.
Clone the notification into a separate instance, maintaining all the properties.
Set the icon
.
Available on Linux.
Can either be a file:// URI,
or a common icon name, usually those in /usr/share/icons
can all be used (or freedesktop.org names).
Set the soundName
to play with the notification.
With macOS support, a list of default sound names is provided.
Whether or not to error if a feature is called on an operating system that does not support it.
Set the subtitle
.
Available on macOS and Windows.
For more elaborate content, use the body
field.
Which platform-specific features to support in this notification.
Set the timeout
.
Available on Windows and Linux.
This sets the time (in milliseconds) from the time the notification is displayed until it is closed again by the Notification Server.
Setting this to 'never'
will cause the notification to never expire.