interface FileMixin {
    file: InputFileLike;
    fileMime?: string;
    fileName?: string;
    fileSize?: number;
    ttlSeconds?: number;
}

Hierarchy (view full)

Properties

File to be sent

fileMime?: string

Override MIME type for the file

Only applicable to newly uploaded files.

fileName?: string

Override file name for the file.

Only applicable to newly uploaded files.

fileSize?: number

Override file size for the file

Only applicable to newly uploaded files.

ttlSeconds?: number

TTL for the media in seconds.

Only applicable to some media types