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 application.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#conversionTD::Types::String

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 application.

Returns:

  • (TD::Types::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_pathTD::Types::String

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

Returns:

  • (TD::Types::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_pathTD::Types::String?

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

Returns:

  • (TD::Types::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