Skip to main content

Interface: NotificationOptions

Properties

body?

optional body: string

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

Source

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


highlight?

optional highlight: boolean

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

Source

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


markdownActions?

optional markdownActions: string

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

Source

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


silent?

optional silent: boolean

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

Source

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


title?

optional title: string

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

Source

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


type?

optional type: NotificationType

The type of the notification. Default value: info

Source

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