Class: TD::Types::Update::FileGenerationStart
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::FileGenerationStart
- 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
-
#conversion ⇒ TD::Types::String
String specifying the conversion applied to the original file.
-
#destination_path ⇒ TD::Types::String
The path to a file that should be created and where the new file should be generated.
-
#generation_id ⇒ Integer
Unique identifier for the generation process.
-
#original_path ⇒ TD::Types::String?
The path to a file from which a new file is generated; may be empty.
Method Summary
Methods inherited from Base
Instance Attribute Details
#conversion ⇒ TD::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.
11 12 13 |
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11 def conversion @conversion end |
#destination_path ⇒ TD::Types::String
The path to a file that should be created and where the new file should be generated.
11 12 13 |
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11 def destination_path @destination_path end |
#generation_id ⇒ Integer
Unique identifier for the generation process.
11 12 13 |
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11 def generation_id @generation_id end |
#original_path ⇒ TD::Types::String?
The path to a file from which a new file is generated; may be empty.
11 12 13 |
# File 'lib/tdlib/types/update/file_generation_start.rb', line 11 def original_path @original_path end |