MessageDeleteBulkEvent class
Emitted when multiple messages are deleted at once.
Properties
-
channel
↔ CacheableTextChannel<
TextChannel> -
Channel on which messages were deleted.
latefinal
-
deletedMessagesIds
↔ Iterable<
Snowflake> -
List of deleted messages ids
latefinal
-
guild
↔ Cacheable<
Snowflake, Guild> ? -
Id of guild where event occurred
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDeletedMessages(
) → Iterable< Message> - Searches cache for deleted messages and returns those which are present in bots cache. Will return empty collection if cannot obtain channel instance from cache. It is not guaranteed that returned collection will have all deleted messages.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited