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

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

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

Channel id of the deleted message

@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.

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

Guild id of the deleted message

nil if a non-guild message was deleted.

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

Ids of the deleted messages

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