Class: TelegramBot::PhotoSize
- Inherits:
-
Struct
- Object
- Struct
- TelegramBot::PhotoSize
- Includes:
- AutoFromMethods
- Defined in:
- lib/telegram_bot/photo_size.rb
Instance Attribute Summary collapse
-
#file_size ⇒ Object
Returns the value of attribute file_size.
-
#height ⇒ Object
Returns the value of attribute height.
-
#id ⇒ Object
Returns the value of attribute id.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
Methods included from AutoFromMethods
Instance Attribute Details
#file_size ⇒ Object
Returns the value of attribute file_size
3 4 5 |
# File 'lib/telegram_bot/photo_size.rb', line 3 def file_size @file_size end |
#height ⇒ Object
Returns the value of attribute height
3 4 5 |
# File 'lib/telegram_bot/photo_size.rb', line 3 def height @height end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/telegram_bot/photo_size.rb', line 3 def id @id end |
#width ⇒ Object
Returns the value of attribute width
3 4 5 |
# File 'lib/telegram_bot/photo_size.rb', line 3 def width @width end |
Instance Method Details
#hash_key_aliases ⇒ Object
7 8 9 10 11 |
# File 'lib/telegram_bot/photo_size.rb', line 7 def hash_key_aliases { :id => :file_id } end |