Trello.js - API library
    Preparing search index...

    Interface CreateCardAttachment

    interface CreateCardAttachment {
        file?:
            | string
            | Blob
            | File
            | ReadableStream<any>
            | Buffer<ArrayBufferLike>;
        id: string;
        mimeType?: string;
        name?: string;
        setCover?: boolean;
        url?: string;
    }
    Index

    Properties

    file?: string | Blob | File | ReadableStream<any> | Buffer<ArrayBufferLike>

    The file to attach, as multipart/form-data

    id: string

    The ID of the Card

    mimeType?: string

    The mimeType of the attachment. Max length 256

    name?: string

    The name of the attachment. Max length 256.

    setCover?: boolean

    Determines whether to use the new attachment as a cover for the Card.

    url?: string

    A URL to attach. Must start with http:// or https://