Nostrum.Struct.Event.MessageDelete (nostrum v0.11.0-dev)

View Source

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

channel_id()

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

Channel id of the deleted message

deleted_message()

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

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

guild_id()

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

Guild id of the deleted message

nil if a non-guild message was deleted.

id()

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

Id of the deleted message

t()

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