Interface IUploadArgs

Options specifying the media file to be uploaded.

interface IUploadArgs {
    id?: string;
    media?: string | ArrayBuffer;
    size?: number;
}

Implemented by

Properties

Properties

id?: string

The id allocated to the media file to be uploaded.

media?: string | ArrayBuffer

The media file to be uploaded.

size?: number

The size (in bytes) of the media file to be uploaded.

The size must be <= 5242880 bytes.