Sha256: c4376f367018477bc243534750595db9063343ef83a3c08d3d40d0aeba4c8653

Contents?: true

Size: 710 Bytes

Versions: 1

Compression:

Stored size: 710 Bytes

Contents

module TD::Types
  # Describes an image in JPEG format.
  #
  # @attr type [String] Image type (see https://core.telegram.org/constructor/photoSize).
  # @attr photo [TD::Types::File] Information about the image file.
  # @attr width [Integer] Image width.
  # @attr height [Integer] Image height.
  # @attr progressive_sizes [Array<Integer>] Sizes of progressive JPEG file prefixes, which can be used to
  #   preliminarily show the image.
  class PhotoSize < Base
    attribute :type, TD::Types::String
    attribute :photo, TD::Types::File
    attribute :width, TD::Types::Integer
    attribute :height, TD::Types::Integer
    attribute :progressive_sizes, TD::Types::Array.of(TD::Types::Integer)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/photo_size.rb