Class: Telegrammer::DataTypes::PhotoSize
- Defined in:
- lib/telegrammer/data_types/photo_size.rb
Overview
Telegram PhotoSize data type
See more at core.telegram.org/bots/api#photosize
Instance Attribute Summary collapse
-
#file_id ⇒ String
Unique identifier for this file.
-
#file_size ⇒ Integer
Optional.
-
#height ⇒ Integer
Photo height.
-
#width ⇒ Integer
Photo width.
Instance Attribute Details
#file_id ⇒ String
Unique identifier for this file
11 12 13 |
# File 'lib/telegrammer/data_types/photo_size.rb', line 11 def file_id @file_id end |
#file_size ⇒ Integer
Optional. File size
11 12 13 |
# File 'lib/telegrammer/data_types/photo_size.rb', line 11 def file_size @file_size end |
#height ⇒ Integer
Photo height
11 12 13 |
# File 'lib/telegrammer/data_types/photo_size.rb', line 11 def height @height end |
#width ⇒ Integer
Photo width
11 12 13 |
# File 'lib/telegrammer/data_types/photo_size.rb', line 11 def width @width end |