Skip to main content

MessageMediaChunksParams

MessageMediaChunksParams interface.

Properties

PropertyTypeDescription
chunksize?numberThe size of the chunk.
fileBlobThe file to upload.
filename?stringThe name of the file to upload.
filetype?stringThe type of the file to upload.
partbyteoffset?numberThe chunk byte offset.
partindexnumberThe index of the chunk part to upload. It starts at 0 and reaches totalparts -1.
totalfilesize?numberThe size of the file to upload.
totalpartsnumberThe number of total parts of the chunk to upload.
uuidstringThe file uuid returned by the first chunk upload. It is required only when partindex > 0.