Class: TelegramBot::Video
- Inherits:
-
Struct
- Object
- Struct
- TelegramBot::Video
- Includes:
- AutoFromMethods
- Defined in:
- lib/telegram_bot/video.rb
Instance Attribute Summary collapse
-
#caption ⇒ Object
Returns the value of attribute caption.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#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.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
-
#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
#caption ⇒ Object
Returns the value of attribute caption
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def @caption end |
#duration ⇒ Object
Returns the value of attribute duration
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def duration @duration end |
#file_size ⇒ Object
Returns the value of attribute file_size
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def file_size @file_size end |
#height ⇒ Object
Returns the value of attribute height
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def height @height end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def id @id end |
#mime_type ⇒ Object
Returns the value of attribute mime_type
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def mime_type @mime_type end |
#thumb ⇒ Object
Returns the value of attribute thumb
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def thumb @thumb end |
#width ⇒ Object
Returns the value of attribute width
3 4 5 |
# File 'lib/telegram_bot/video.rb', line 3 def width @width end |
Class Method Details
.extra_types ⇒ Object
21 22 23 24 25 |
# File 'lib/telegram_bot/video.rb', line 21 def self.extra_types { thumb: TelegramBot::PhotoSize } end |
.hash_key_aliases ⇒ Object
15 16 17 18 19 |
# File 'lib/telegram_bot/video.rb', line 15 def self.hash_key_aliases { :id => :file_id } end |