Class: Rubirai::AppMessage

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

Overview

The app message type

Instance Attribute Summary collapse

Attributes inherited from Message

#bot, #type

Class Method Summary collapse

Methods inherited from Message

all_types, check_type, #to_h, to_message

Instance Attribute Details

#contentString (readonly)

Returns the app content.

Returns:

  • (String)

    the app content



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

set_message :App, :content

Class Method Details

.from(**kwargs) ⇒ Rubirai::AppMessage

Options Hash (**kwargs):

  • :content (String)

    the app body

Returns:



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

set_message :App, :content