Interface
MessageDeleteBulkPayload
Payload emitted for Events.MessageDeleteBulk. Normalized from GatewayMessageDeleteBulkDispatchData.
Properties
| Name | Type | Description |
|---|---|---|
| channel | TextBasedChannel | null | Cached text-capable channel, or null if uncached / not text-based. |
| channelId | string | Channel from which the messages were deleted. |
| guildId | string | null | Guild the channel belongs to, or null for DMs. |
| ids | string[] | IDs of the deleted messages. |
| messages | PartialMessage[] | One PartialMessage per id. Cached fields (content, author, createdAt) are filled when the message was in cache; otherwise those fields are null. |