Sha256: bde68fbf88f7987a729fa4b49501a06cbd3eae673d3f6ebc69c98e13a47a5ead
Contents?: true
Size: 777 Bytes
Versions: 2
Compression:
Stored size: 777 Bytes
Contents
module TD::Types # Represents a file. # # @attr id [Integer] Unique file identifier. # @attr size [Integer] File size; 0 if unknown. # @attr expected_size [Integer] Expected file size in case the exact file size is unknown, but an approximate size is # known. # Can be used to show download/upload progress. # @attr local [TD::Types::LocalFile] Information about the local copy of the file. # @attr remote [TD::Types::RemoteFile] Information about the remote copy of the file. class File < Base attribute :id, TD::Types::Coercible::Integer attribute :size, TD::Types::Coercible::Integer attribute :expected_size, TD::Types::Coercible::Integer attribute :local, TD::Types::LocalFile attribute :remote, TD::Types::RemoteFile end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/file.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/file.rb |