Raw.upload.SaveBigFilePart

Raw.upload.SaveBigFilePart

Saves a part of a large file (over 10 mb in size) to be later passed to one of the methods.

upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
export namespace Raw {
  export namespace upload {
    export class SaveBigFilePart {
      constructor(params: {
        fileId: bigint;
        filePart: number;
        fileTotalParts: number;
        bytes: Buffer;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xde7b673d

Property

  • fileId : bigint

    Random file id, created by the client

  • filePart : number

    Part sequence number

  • fileTotalParts : number

    Total number of parts

  • bytes : Buffer

    Binary data, part contents

Results

boolean

Bots can use