Class: TD::Types::InputFile::Remote
- Inherits:
-
TD::Types::InputFile
- Object
- Dry::Struct
- Base
- TD::Types::InputFile
- TD::Types::InputFile::Remote
- Defined in:
- lib/tdlib/types/input_file/remote.rb
Overview
A file defined by its remote ID. The remote ID is guaranteed to be usable only if the corresponding file is still accessible to the user and known
to TDLib.
For example, if the file is from a message, then the message must be not deleted and accessible to the user. If the file database is disabled, then the corresponding object with the file must be preloaded by the application.
Instance Attribute Summary collapse
-
#id ⇒ TD::Types::String
Remote file identifier.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ TD::Types::String
Remote file identifier.
9 10 11 |
# File 'lib/tdlib/types/input_file/remote.rb', line 9 def id @id end |