Class: TD::Types::InputFile::Remote

Inherits:
TD::Types::InputFile show all
Defined in:
lib/tdlib/types/input_file/remote.rb

Overview

A file defined by its remote identifier. The remote identifier 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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idTD::Types::String

Remote file identifier.

Returns:

  • (TD::Types::String)

    the current value of id



9
10
11
# File 'lib/tdlib/types/input_file/remote.rb', line 9

def id
  @id
end