import { Notification } from "https://deno.land/x/deno_notify@1.4.3/ts/mod.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: () => Notification<MacOS, Windows, Linux>
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).
soundName: (soundName: MacOS extends true ? MacSoundNames : string) => this
Set the soundName
to play with the notification.
With macOS support, a list of default sound names is provided.