Sha256: 95f5236df7a6fcf92aa72f3212a69118f4f997653d9ecd70a208b64081467d80
Contents?: true
Size: 893 Bytes
Versions: 3
Compression:
Stored size: 893 Bytes
Contents
module TD::Types # Describes a document of any type. # # @attr file_name [TD::Types::String] Original name of the file; as defined by the sender. # @attr mime_type [TD::Types::String] MIME type of the file; as defined by the sender. # @attr minithumbnail [TD::Types::Minithumbnail, nil] Document minithumbnail; may be null. # @attr thumbnail [TD::Types::Thumbnail, nil] Document thumbnail in JPEG or PNG format (PNG will be used only for # background patterns); 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 :minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :thumbnail, TD::Types::Thumbnail.optional.default(nil) attribute :document, TD::Types::File end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.4 | lib/tdlib/types/document.rb |
tdlib-schema-1.7.0.3 | lib/tdlib/types/document.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/document.rb |