Interface CreateMediaAttachmentParams

interface CreateMediaAttachmentParams {
    description?: null | string;
    file: string | Blob;
    focus?: null | string;
    thumbnail?: null | string | Blob;
}

Properties

description?: null | string

A plain-text description of the media, for accessibility purposes.

file: string | Blob

The file to be attached, using multipart form data.

focus?: null | string

Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0

thumbnail?: null | string | Blob

Custom thumbnail