Skip to content

IsTreatedAsAttachmentParams.attachmentExtensions

IsTreatedAsAttachmentParams › attachmentExtensions

Type: readonly string[]

The extensions that mark a file as an attachment, e.g. ['.excalidraw.md']. Each entry is normalized before matching: surrounding whitespace is trimmed, a single leading dot is enforced, and the comparison is case-insensitive. Empty entries are ignored.