bulkRemoveMessages abstract method

Future<void> bulkRemoveMessages(
  1. Iterable<IMessage> messages
)

Bulk removes many referenced messages. Where messages is list of messages to delete.

var toDelete = channel.messageCache.take(5);
await channel.bulkRemoveMessages(toDelete);

Implementation

Future<void> bulkRemoveMessages(Iterable<IMessage> messages);