Class: TD::Types::PhotoSize
- Defined in:
- lib/tdlib/types/photo_size.rb
Overview
Describes an image in JPEG format.
Instance Attribute Summary collapse
-
#height ⇒ Integer
Image height.
-
#photo ⇒ TD::Types::File
Information about the image file.
-
#progressive_sizes ⇒ Array<Integer>
Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image.
-
#type ⇒ TD::Types::String
Image type (see core.telegram.org/constructor/photoSize).
-
#width ⇒ Integer
Image width.
Method Summary
Methods inherited from Base
Instance Attribute Details
#height ⇒ Integer
Image height.
10 11 12 |
# File 'lib/tdlib/types/photo_size.rb', line 10 def height @height end |
#photo ⇒ TD::Types::File
Information about the image file.
10 11 12 |
# File 'lib/tdlib/types/photo_size.rb', line 10 def photo @photo end |
#progressive_sizes ⇒ Array<Integer>
Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image.
10 11 12 |
# File 'lib/tdlib/types/photo_size.rb', line 10 def progressive_sizes @progressive_sizes end |
#type ⇒ TD::Types::String
Image type (see core.telegram.org/constructor/photoSize).
10 11 12 |
# File 'lib/tdlib/types/photo_size.rb', line 10 def type @type end |
#width ⇒ Integer
Image width.
10 11 12 |
# File 'lib/tdlib/types/photo_size.rb', line 10 def width @width end |