pub async fn write_generated_file_part(
generation_id: i64,
offset: i64,
data: String,
client_id: i32,
) -> Result<(), Error>
Expand description
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
§Arguments
generation_id
- The identifier of the generation processoffset
- The offset from which to write the data to the filedata
- The data to writeclient_id
- The client id to send the request to