Class: Rubirai::XmlMessage

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

Overview

The xml 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

#xmlString (readonly)

Returns the xml content.

Returns:

  • (String)

    the xml content



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

set_message :Xml, :xml