MessageDeleteBulkEvent class Null safety

Emitted when multiple messages are deleted at once.

Properties

channel Cacheable<Snowflake, TextChannel>
Channel on which messages were deleted.
read / write, final, late
deletedMessagesIds Iterable<Snowflake>
List of deleted messages ids
read / write, final, late
guild Cacheable<Snowflake, Guild>?
Id of guild where event occurred
read / write, final, late
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited