Class: Rubirai::PlainMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/rubirai/messages/message.rb

Overview

The plain text message type

Instance Attribute Summary collapse

Attributes inherited from Message

#bot, #type

Method Summary

Methods inherited from Message

AtAllMessage, AtMessage, FaceMessage, PlainMessage, QuoteMessage, all_types, build_from, check_type, get_msg_klass, #initialize, metaclass, set_message, #to_h, to_message

Constructor Details

This class inherits a constructor from Rubirai::Message

Instance Attribute Details

#textString (readonly)

Returns the text.

Returns:

  • (String)

    the text



217
# File 'lib/rubirai/messages/message.rb', line 217

set_message :Plain, :text