MessageDeleteBulkEvent class Null safety

Emitted when multiple messages are deleted at once.


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