teleproto - v1.230.0
    Preparing search index...

    Interface UploadFileParams

    interface for uploading files.

    interface UploadFileParams {
        file: NamedBlob | CustomFile;
        maxBufferSize?: number;
        onProgress?: OnProgress;
        workers?: number;
    }
    Index

    A CustomFile, or any File / Blob that has a name.

    maxBufferSize?: number
    onProgress?: OnProgress

    a progress callback for the upload.

    workers?: number

    Parts to keep in flight. Defaults to a parallel value when omitted; anything above 16 is unstable.