Class: Rubirai::PlainMessage
- Defined in:
- lib/rubirai/messages/message.rb
Overview
The plain text message type
Instance Attribute Summary collapse
-
#text ⇒ String
readonly
The text.
Attributes inherited from Message
Class Method Summary collapse
-
.from(**kwargs) ⇒ PlainMessage
The message object.
Methods inherited from Message
all_types, check_type, #to_h, to_message
Instance Attribute Details
#text ⇒ String (readonly)
Returns the text.
313 |
# File 'lib/rubirai/messages/message.rb', line 313 :Plain, :text |
Class Method Details
.from(**kwargs) ⇒ PlainMessage
Returns the message object.
313 |
# File 'lib/rubirai/messages/message.rb', line 313 :Plain, :text |