lib/tdlib/client_methods.rb
# 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.
#
# @param generation_id [Integer] The identifier of the generation process.
# @param offset [Integer] The offset from which to write the data to the file.
# @param data [String] The data to write.
# @return [TD::Types::Ok]
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.
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 .
def write_generated_file_part(generation_id:, offset:, data:)
    broadcast('@type'         => 'writeGeneratedFilePart',
              'generation_id' => generation_id,
              'offset'        => offset,
              'data'          => data)
  end
def write_generated_file_part ( generation_id : , offset : , data : ) broadcast ( '@type' => 'writeGeneratedFilePart' , 'generation_id' => generation_id , 'offset' => offset , 'data' => data ) end
Writes a part of a generated file.
Writes a part of a generated file .
None
TD::Types::Ok
generation_id
The identifier of the generation process.
The identifier of the generation process .
offset
The offset from which to write the data to the file.
The offset from which to write the data to the file .
data
The data to write.
The data to write .