Sha256: e320ff11aa1440e0c0177541b1a89b1bcaa5c456cfafdee363b7635bde9c868c
Contents?: true
Size: 744 Bytes
Versions: 4
Compression:
Stored size: 744 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::Integer attribute :size, TD::Types::Integer attribute :expected_size, TD::Types::Integer attribute :local, TD::Types::LocalFile attribute :remote, TD::Types::RemoteFile end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/file.rb |
tdlib-ruby-2.2.0 | lib/tdlib/types/file.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/file.rb |
tdlib-ruby-2.0.0 | lib/tdlib/types/file.rb |