Class: WitBot::Bot::Message
- Defined in:
- lib/wit_bot/bot/models/message.rb
Instance Attribute Summary
Attributes inherited from Message
#_outcomes, #_text, #id, #outcomes, #sent, #text, #thread
Instance Method Summary collapse
Methods inherited from Message
#initialize, #outcome, #params
Constructor Details
This class inherits a constructor from WitBot::Message
Instance Method Details
#bot? ⇒ Boolean
4 5 6 |
# File 'lib/wit_bot/bot/models/message.rb', line 4 def bot? true end |
#send ⇒ Object
7 8 9 |
# File 'lib/wit_bot/bot/models/message.rb', line 7 def send throw "You can't send a bot message." end |