Class: TD::Types::PhotoSize
- Defined in:
- lib/tdlib/types/photo_size.rb
Overview
Photo description.
Instance Attribute Summary collapse
-
#height ⇒ Integer
Photo height.
-
#photo ⇒ TD::Types::File
Information about the photo file.
-
#type ⇒ String
Thumbnail type (see https://core.telegram.org/constructor/photoSize).
-
#width ⇒ Integer
Photo width.
Method Summary
Methods inherited from Base
Instance Attribute Details
#height ⇒ Integer
Photo height.
8 9 10 |
# File 'lib/tdlib/types/photo_size.rb', line 8 def height @height end |
#photo ⇒ TD::Types::File
Information about the photo file.
8 9 10 |
# File 'lib/tdlib/types/photo_size.rb', line 8 def photo @photo end |
#type ⇒ String
Thumbnail type (see https://core.telegram.org/constructor/photoSize).
8 9 10 |
# File 'lib/tdlib/types/photo_size.rb', line 8 def type @type end |
#width ⇒ Integer
Photo width.
8 9 10 |
# File 'lib/tdlib/types/photo_size.rb', line 8 def width @width end |