Skip to main content

Interface: NotificationOptions

Properties

body?

optional body: string

The body text of the notification, which will be displayed below the title.

Defined in

packages/extension-api/src/extension-api.d.ts:1687


highlight?

optional highlight: boolean

this notification will be highlighted to the user so it draws attention

Defined in

packages/extension-api/src/extension-api.d.ts:1703


markdownActions?

optional markdownActions: string

displayed below the description. It contains actions (like markdown commands/buttons and links)

Defined in

packages/extension-api/src/extension-api.d.ts:1699


silent?

optional silent: boolean

Whether or not to emit an OS notification noise when showing the notification.

Defined in

packages/extension-api/src/extension-api.d.ts:1691


title?

optional title: string

A title for the notification, which will be shown at the top of the notification window when it is shown.

Defined in

packages/extension-api/src/extension-api.d.ts:1683


type?

optional type: NotificationType

The type of the notification. Default value: info

Defined in

packages/extension-api/src/extension-api.d.ts:1695