Skip to main content

Interface: MessageMediaChunksParams

types/privateMessage.MessageMediaChunksParams

MessageMediaChunksParams interface.

Properties

chunksize

Optional chunksize: number

The size of the chunk.

Defined in

types/privateMessage.ts:160


file

file: Blob

The file to upload.

Defined in

types/privateMessage.ts:132


filename

Optional filename: string

The name of the file to upload.

Defined in

types/privateMessage.ts:164


filetype

Optional filetype: string

The type of the file to upload.

Defined in

types/privateMessage.ts:148


partbyteoffset

Optional partbyteoffset: number

The chunk byte offset.

Defined in

types/privateMessage.ts:156


partindex

partindex: number

The index of the chunk part to upload. It starts at 0 and reaches totalparts -1.

Defined in

types/privateMessage.ts:140


totalfilesize

Optional totalfilesize: number

The size of the file to upload.

Defined in

types/privateMessage.ts:152


totalparts

totalparts: number

The number of total parts of the chunk to upload.

Defined in

types/privateMessage.ts:144


uuid

uuid: string

The file uuid returned by the first chunk upload. It is required only when partindex > 0.

Defined in

types/privateMessage.ts:136