Class: TelegramBot::Sticker
- Inherits:
-
Struct
- Object
- Struct
- TelegramBot::Sticker
- Includes:
- AutoFromMethods
- Defined in:
- lib/telegram_bot/sticker.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.
-
#thumb ⇒ Object
Returns the value of attribute thumb.
-
#width ⇒ Object
Returns the value of attribute width.
Class 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/sticker.rb', line 3 def file_size @file_size end |
#height ⇒ Object
Returns the value of attribute height
3 4 5 |
# File 'lib/telegram_bot/sticker.rb', line 3 def height @height end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/telegram_bot/sticker.rb', line 3 def id @id end |
#thumb ⇒ Object
Returns the value of attribute thumb
3 4 5 |
# File 'lib/telegram_bot/sticker.rb', line 3 def thumb @thumb end |
#width ⇒ Object
Returns the value of attribute width
3 4 5 |
# File 'lib/telegram_bot/sticker.rb', line 3 def width @width end |
Class Method Details
.extra_types ⇒ Object
14 15 16 17 18 |
# File 'lib/telegram_bot/sticker.rb', line 14 def self.extra_types { thumb: TelegramBot::PhotoSize } end |
.hash_key_aliases ⇒ Object
8 9 10 11 12 |
# File 'lib/telegram_bot/sticker.rb', line 8 def self.hash_key_aliases { :id => :file_id } end |