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.
attachments
true
Optional
Accepted MIME types.
["image/jpeg", "image/png", "image/gif", "image/webp", "application/pdf"]
Maximum number of files per message.
5
Largest file accepted, in bytes.
5 * 1024 * 1024 (5 MB)
5 * 1024 * 1024
Client-side attachment limits. Pass to ChatWidget via the
attachmentsprop (ortruefor the defaults). The worker enforces its own limits independently; keep the two in sync so uploads aren't rejected late.