MessageDeleteBulkEvent class Null safety

Emitted when multiple messages are deleted at once.


channel CacheableTextChannel<TextChannel>
Channel on which messages were deleted.
final, read / write, late
deletedMessagesIds Iterable<Snowflake>
List of deleted messages ids
final, read / write, late
guild Cacheable<Snowflake, Guild>?
Id of guild where event occurred
final, read / write, 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


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. [...]
toString() String
A string representation of this object. [...]


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