Class: FantasticRobot::Model::Attachment::Audio
- Defined in:
- lib/fantastic_robot/model/attachment/audio.rb
Overview
This object represents an audio file to be treated as music by the Telegram clients.
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#file_id ⇒ Object
Returns the value of attribute file_id.
-
#file_size ⇒ Object
Returns the value of attribute file_size.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
-
#performer ⇒ Object
Returns the value of attribute performer.
-
#title ⇒ Object
Returns the value of attribute title.
Method Summary
Methods inherited from Base
Methods inherited from Base
#attributes, #initialize, #to_h
Constructor Details
This class inherits a constructor from FantasticRobot::Model::Base
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/audio.rb', line 5 def duration @duration end |
#file_id ⇒ Object
Returns the value of attribute file_id.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/audio.rb', line 5 def file_id @file_id end |
#file_size ⇒ Object
Returns the value of attribute file_size.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/audio.rb', line 5 def file_size @file_size end |
#mime_type ⇒ Object
Returns the value of attribute mime_type.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/audio.rb', line 5 def mime_type @mime_type end |
#performer ⇒ Object
Returns the value of attribute performer.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/audio.rb', line 5 def performer @performer end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/fantastic_robot/model/attachment/audio.rb', line 5 def title @title end |