Raw.upload.SaveFilePart

Raw.upload.SaveFilePart

Saves a part of file for further sending to one of the methods.

upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;
export namespace Raw {
  export namespace upload {
    export class SaveFilePart {
      constructor(params: { fileId: bigint; filePart: number; bytes: Buffer }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xb304a621

Property

  • fileId : bigint

    Random file identifier created by the client

  • filePart : number

    Numerical order of a part

  • bytes : Buffer

    Binary data, content of a part

Results

boolean

Bots can use