Interface

MessageDeleteBulkPayload

Payload emitted for Events.MessageDeleteBulk. Normalized from GatewayMessageDeleteBulkDispatchData.

Properties

NameTypeDescription
channelTextBasedChannel | nullCached text-capable channel, or null if uncached / not text-based.
channelIdstringChannel from which the messages were deleted.
guildIdstring | nullGuild the channel belongs to, or null for DMs.
idsstring[]IDs of the deleted messages.
messagesPartialMessage[]One PartialMessage per id. Cached fields (content, author, createdAt) are filled when the message was in cache; otherwise those fields are null.