Class: Rubirai::RecallEvent Abstract

Inherits:
Event
  • Object
show all
Defined in:
lib/rubirai/events/message_events.rb

Overview

This class is abstract.

The base class for recall events

Direct Known Subclasses

FriendRecallEvent, GroupRecallEvent

Instance Attribute Summary collapse

Attributes inherited from Event

#bot, #raw

Method Summary

Methods inherited from Event

#initialize, parse, set_event, type_to_klass, valid_type?

Constructor Details

This class inherits a constructor from Rubirai::Event

Instance Attribute Details

#author_idInteger (readonly)

Returns the author's id.

Returns:

  • (Integer)

    the author's id



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

set_event nil, :author_id, :message_id, :time

#message_idInteger (readonly)

Returns the message id.

Returns:

  • (Integer)

    the message id



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

set_event nil, :author_id, :message_id, :time

#timeInteger (readonly)

Returns the time the message is sent.

Returns:

  • (Integer)

    the time the message is sent



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

set_event nil, :author_id, :message_id, :time