Skip to content

Vizel API / core/src / VizelSlashCommandExtensionOptions

Interface: VizelSlashCommandExtensionOptions

Defined in: packages/core/src/extensions/slash-command.ts:20

Properties

commands?

ts
optional commands?: readonly VizelCommand[];

Defined in: packages/core/src/extensions/slash-command.ts:26

Commands surfaced in the slash menu. Defaults to the slash-surfaced subset of vizelDefaultCommands. The extension filters the list by surfaces.slashMenu again so callers may pass a superset.


locale?

ts
optional locale?: VizelLocale;

Defined in: packages/core/src/extensions/slash-command.ts:28

Locale supplying command label / description strings.


suggestion?

ts
optional suggestion?: Partial<SuggestionOptions<VizelCommand, any>>;

Defined in: packages/core/src/extensions/slash-command.ts:30

Suggestion options for customizing the popup behavior.

Released under the MIT License.