Sha256: 9d6379565a1bff4f93d03785aa11fb8be72fb899072e083aeb2cf4080f5e36aa

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

module TD::Types
  # Represents a thumbnail.
  #
  # @attr format [TD::Types::ThumbnailFormat] Thumbnail format.
  # @attr width [Integer] Thumbnail width.
  # @attr height [Integer] Thumbnail height.
  # @attr file [TD::Types::File] The thumbnail.
  class Thumbnail < Base
    attribute :format, TD::Types::ThumbnailFormat
    attribute :width, TD::Types::Coercible::Integer
    attribute :height, TD::Types::Coercible::Integer
    attribute :file, 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/thumbnail.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/thumbnail.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/thumbnail.rb