claudius-chat-widget
    Preparing search index...

    Interface AttachmentsOptions

    Client-side attachment limits. Pass to ChatWidget via the attachments prop (or true for the defaults). The worker enforces its own limits independently; keep the two in sync so uploads aren't rejected late.

    interface AttachmentsOptions {
        allowedTypes?: string[];
        maxCount?: number;
        maxSizeBytes?: number;
    }
    Index

    Properties

    allowedTypes?: string[]

    Accepted MIME types.

    ["image/jpeg", "image/png", "image/gif", "image/webp", "application/pdf"]

    maxCount?: number

    Maximum number of files per message.

    5

    maxSizeBytes?: number

    Largest file accepted, in bytes.

    5 * 1024 * 1024 (5 MB)