Class: TD::Types::Update::FileGenerationStart

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/file_generation_start.rb

Overview

The file generation process needs to be started by the client.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#conversionString

String specifying the conversion applied to the original file. If conversion is "#url#" than original_path contains an HTTP/HTTPS URL of a file, which should be downloaded by the client.

Returns:

  • (String)

    the current value of conversion



11
12
13
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11

def conversion
  @conversion
end

#destination_pathString

The path to a file that should be created and where the new file should be generated.

Returns:

  • (String)

    the current value of destination_path



11
12
13
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11

def destination_path
  @destination_path
end

#generation_idInteger

Unique identifier for the generation process.

Returns:

  • (Integer)

    the current value of generation_id



11
12
13
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11

def generation_id
  @generation_id
end

#original_pathString?

The path to a file from which a new file is generated; may be empty.

Returns:

  • (String, nil)

    the current value of original_path



11
12
13
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11

def original_path
  @original_path
end