Class: TeBot::Message::Audio
- Inherits:
-
Object
- Object
- TeBot::Message::Audio
- Defined in:
- lib/te_bot/message.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ Audio
constructor
A new instance of Audio.
- #parse ⇒ Object
Constructor Details
#initialize(message) ⇒ Audio
Returns a new instance of Audio.
145 146 147 |
# File 'lib/te_bot/message.rb', line 145 def initialize() @audio = .dig("audio") end |
Instance Method Details
#parse ⇒ Object
149 150 151 |
# File 'lib/te_bot/message.rb', line 149 def parse @audio end |