Class: Rubirai::GroupRecallEvent

Inherits:
RecallEvent show all
Defined in:
lib/rubirai/events/message_events.rb

Overview

Group recall event

Instance Attribute Summary collapse

Attributes inherited from RecallEvent

#author_id, #message_id, #time

Attributes inherited from Event

#bot, #raw

Instance Method Summary collapse

Methods inherited from Event

parse, #parse_val_from_key, set_event, type_to_klass, valid_type?

Constructor Details

#initialize(hash, bot = nil) ⇒ Object

Parameters:



67
# File 'lib/rubirai/events/message_events.rb', line 67

set_event :GroupRecallEvent, :group, :operator

Instance Attribute Details

#groupGroup (readonly)

Returns the group.

Returns:



67
# File 'lib/rubirai/events/message_events.rb', line 67

set_event :GroupRecallEvent, :group, :operator

#operatorGroupUser (readonly)

Returns the operator.

Returns:



67
# File 'lib/rubirai/events/message_events.rb', line 67

set_event :GroupRecallEvent, :group, :operator