Interface: MessageMediaChunksParams
types/privateMessage.MessageMediaChunksParams
MessageMediaChunksParams interface.
Properties
chunksize
• Optional
chunksize: number
The size of the chunk.
Defined in
file
• file: Blob
The file to upload.
Defined in
filename
• Optional
filename: string
The name of the file to upload.
Defined in
filetype
• Optional
filetype: string
The type of the file to upload.
Defined in
partbyteoffset
• Optional
partbyteoffset: number
The chunk byte offset.
Defined in
partindex
• partindex: number
The index of the chunk part to upload. It starts at 0 and reaches totalparts -1.
Defined in
totalfilesize
• Optional
totalfilesize: number
The size of the file to upload.
Defined in
totalparts
• totalparts: number
The number of total parts of the chunk to upload.
Defined in
uuid
• uuid: string
The file uuid returned by the first chunk upload. It is required only when partindex > 0.