Class: TD::Types::InputFile::Generated
- Inherits:
-
TD::Types::InputFile
- Object
- Dry::Struct
- Base
- TD::Types::InputFile
- TD::Types::InputFile::Generated
- Defined in:
- lib/tdlib/types/input_file/generated.rb
Overview
A file generated by the application.
Instance Attribute Summary collapse
-
#conversion ⇒ TD::Types::String
String specifying the conversion applied to the original file; should be persistent across application restarts.
-
#expected_size ⇒ Integer
Expected size of the generated file; 0 if unknown.
-
#original_path ⇒ TD::Types::String?
Local path to a file from which the file is generated; may be empty if there is no such file.
Method Summary
Methods inherited from Base
Instance Attribute Details
#conversion ⇒ TD::Types::String
String specifying the conversion applied to the original file; should be persistent across application restarts. Conversions beginning with ‘#’ are reserved for internal TDLib usage.
10 11 12 |
# File 'lib/tdlib/types/input_file/generated.rb', line 10 def conversion @conversion end |
#expected_size ⇒ Integer
Expected size of the generated file; 0 if unknown.
10 11 12 |
# File 'lib/tdlib/types/input_file/generated.rb', line 10 def expected_size @expected_size end |
#original_path ⇒ TD::Types::String?
Local path to a file from which the file is generated; may be empty if there is no such file.
10 11 12 |
# File 'lib/tdlib/types/input_file/generated.rb', line 10 def original_path @original_path end |