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

View Source

Struct representing a Message Delete Bulk event

Summary

Types

Channel id of the deleted message

The deleted messages, if any were not found in the message cache they will only have the id and channel_id set.

Guild id of the deleted message

Ids of the deleted messages

t()

Types

channel_id()

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

Channel id of the deleted message

deleted_messages()

@type deleted_messages() :: [Nostrum.Struct.Message.t(), ...]

The deleted messages, if any were not found in the message cache they will only have the id and channel_id set.

guild_id()

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

Guild id of the deleted message

nil if a non-guild message was deleted.

ids()

@type ids() :: [Nostrum.Struct.Message.id(), ...]

Ids of the deleted messages

t()

@type t() :: %Nostrum.Struct.Event.MessageDeleteBulk{
  channel_id: channel_id(),
  deleted_messages: deleted_messages(),
  guild_id: guild_id(),
  ids: ids()
}