View Source Nostrum.Struct.Event.MessageDelete (Nostrum v0.10.0)

Struct representing a Message Delete event

Summary

Types

Channel id of the deleted message

The deleted message, if it was found in the message cache.

Guild id of the deleted message

Id of the deleted message

t()

Types

@type channel_id() :: Nostrum.Struct.Channel.id()

Channel id of the deleted message

@type deleted_message() :: Nostrum.Struct.Message.t() | nil

The deleted message, if it was found in the message cache.

@type guild_id() :: Nostrum.Struct.Guild.id() | nil

Guild id of the deleted message

nil if a non-guild message was deleted.

@type id() :: Nostrum.Struct.Message.id()

Id of the deleted message

@type t() :: %Nostrum.Struct.Event.MessageDelete{
  channel_id: channel_id(),
  deleted_message: deleted_message(),
  guild_id: guild_id(),
  id: id()
}