AIChatShortcutBaseDefinition
interface
The base definition for all shortcut types.
Properties
icon : string | undefinedreadonlymodule:ai/aichatshortcuts/aichatshortcuts~AIChatShortcutBaseDefinition#iconThe icon of the shortcut in SVG string format.
Learn more about setting the icon in the
IconViewAPI reference.Note: When not provided, a generic icon associated with the shortcut type will be used instead.
id : stringreadonlymodule:ai/aichatshortcuts/aichatshortcuts~AIChatShortcutBaseDefinition#idThe unique identifier of the shortcut.
label : stringreadonlymodule:ai/aichatshortcuts/aichatshortcuts~AIChatShortcutBaseDefinition#labelThe human-readable label of the shortcut.
type : 'translate' | 'chat' | 'review'readonlymodule:ai/aichatshortcuts/aichatshortcuts~AIChatShortcutBaseDefinition#typeThe type of the shortcut.