Sha256: 3cb0a515627dd846cfbe5c7d99c6d830b1692f29ae722cf22829e7678b475210
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
module TD::Types # Describes a document of any type. # # @attr file_name [String] Original name of the file; as defined by the sender. # @attr mime_type [String] MIME type of the file; as defined by the sender. # @attr thumbnail [TD::Types::PhotoSize, nil] Document thumbnail; as defined by the sender; may be null. # @attr document [TD::Types::File] File containing the document. class Document < Base attribute :file_name, TD::Types::String attribute :mime_type, TD::Types::String attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :document, TD::Types::File end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.0.0 | lib/tdlib/types/document.rb |