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

parse, #parse_val_from_key, set_event, type_to_klass, valid_type?

Instance Attribute Details

#author_idInteger (readonly)

Returns the author's id.

Returns:

  • (Integer)

    the author's id



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

set_event nil, :author_id, :message_id, :time

#message_idInteger (readonly)

Returns the message id.

Returns:

  • (Integer)

    the message id



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

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



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

set_event nil, :author_id, :message_id, :time