Class: TeBot::Message::Voice
- Inherits:
-
Object
- Object
- TeBot::Message::Voice
- Defined in:
- lib/te_bot/message.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ Voice
constructor
A new instance of Voice.
- #parse ⇒ Object
Constructor Details
#initialize(message) ⇒ Voice
Returns a new instance of Voice.
155 156 157 |
# File 'lib/te_bot/message.rb', line 155 def initialize() @voice = .dig("voice") end |
Instance Method Details
#parse ⇒ Object
159 160 161 |
# File 'lib/te_bot/message.rb', line 159 def parse @voice end |