Class: Rubirai::FriendMessageEvent
- Inherits:
-
MessageEvent
- Object
- Event
- MessageEvent
- Rubirai::FriendMessageEvent
- Defined in:
- lib/rubirai/events/message_events.rb
Overview
Friend message event
Instance Attribute Summary collapse
-
#sender ⇒ User
readonly
The sender.
Attributes inherited from MessageEvent
Attributes inherited from Event
Instance Method Summary collapse
- #initialize(hash, boxt = nil) ⇒ Object constructor
Methods inherited from MessageEvent
Methods inherited from Event
parse, #parse_val_from_key, set_event, type_to_klass, valid_type?
Constructor Details
#initialize(hash, boxt = nil) ⇒ Object
23 |
# File 'lib/rubirai/events/message_events.rb', line 23 set_event :FriendMessage |
Instance Attribute Details
#sender ⇒ User (readonly)
Returns the sender.
23 |
# File 'lib/rubirai/events/message_events.rb', line 23 set_event :FriendMessage |