Skip to content

writeGeneratedFilePart

Function · TDLib 1.8.67 · d1085f9c

Writes a part of a generated file. This method is intended to be used only if the application has no direct access to TDLib's file system, because it is usually slower than a direct write to the destination file

writeGeneratedFilePart(
  generation_id: int64,
  offset: int53,
  data: bytes
) → Ok

generation_id

int64

The identifier of the generation process

offset

int53

The offset from which to write the data to the file

data

bytes

The data to write