Class: Discorb::Gateway::UnknownDeleteBulkMessage

Inherits:
GatewayEvent
  • Object
show all
Defined in:
lib/discorb/gateway_events.rb

Overview

Represents a message but it has only ID.

Instance Attribute Summary collapse

Method Summary

Methods inherited from GatewayEvent

#inspect

Instance Attribute Details

#channel -> nil, Discorb::Channel (readonly)

Note:

This method returns an object from client cache. it will return nil if the object is not in cache.

Returns:

  • (nil)

    The object wasn't cached.

  • (Discorb::Channel)

    The channel the message was sent in.



# File 'lib/discorb/gateway_events.rb', line 367

#guild -> nil, Discorb::Guild (readonly)

Note:

This method returns an object from client cache. it will return nil if the object is not in cache.

Returns:

  • (nil)

    The object wasn't cached.

  • (Discorb::Guild)

    The guild the message was sent in.



# File 'lib/discorb/gateway_events.rb', line 367

#id -> Discorb::Snowflake (readonly)

Returns The ID of the message.

Returns:



365
366
367
# File 'lib/discorb/gateway_events.rb', line 365

def id
  @id
end