OptionalactionsAction buttons
OptionalbadgeValue to show on the app icon badge
OptionalbodyThe main message body
OptionalcallbackInvoked when the user interacts with the notification
OptionalinterruptionControls Focus/DND behaviour. Defaults to "active"
Optionalsoundtrue (the default) for the default sound, false for none, or the name of an .aiff file
OptionalsubtitleA second line shown beneath the title
OptionalthreadGroups related notifications visually in Notification Center
The bold heading line
OptionaltriggerWhen to deliver the notification (see the module documentation). Omit for immediate delivery
OptionaluserArbitrary payload passed back to the callback
The options for
hs.notify.create()