@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    This content block contains plain-text content.

    interface TextContent {
        content: string;
        isEmojiOnly: boolean;
        translations?: Record<string, string>;
        translationsWithRawMentions?: Record<string, string>;
    }
    Index

    Properties

    content: string

    The textual body of the message.

    isEmojiOnly: boolean

    Whether the entire content consists of emoji characters only.

    translations?: Record<string, string>

    Alternate-language renderings of content, keyed by language code (e.g. "en-us", "fr-fr"). Each value is the fully rendered text in that language with any @mentions replaced by their display names - ready to display as-is. Use this when you want to show the message in a language other than the source.

    translationsWithRawMentions?: Record<string, string>

    Same alternate-language renderings as translations, but with @mentions kept as raw tokens instead of resolved to display names. Use this when the UI wants to parse mentions itself (e.g. to render them as clickable chips). Most consumers should prefer translations.