View as Markdown

API reference: @salmonui/chat/conversation

ConversationMentionConfiginterface

import type { ConversationMentionConfig } from '@salmonui/chat/conversation';
interface ConversationMentionConfig {
    readonly trigger?: string;
    readonly items: readonly ConversationMentionUser[];
}

A mention trigger of the composer, through the Dropdowns Mention.

ConversationMentionConfig members (2)
NameSignatureDescription
triggeroptionalreadonly trigger?: string;

Trigger character, '@' by default.

itemsreadonly items: readonly ConversationMentionUser[];