bulkDelete property

BulkDeleteBuilder<PartialMessage<PartialChannel>> get bulkDelete

Bulk delete Message in channel (PartialTextChannel, DmChannel)

Example :

final TextChannel channel = await guild.channels.resolve('240561194958716924');
await channel.bulkDelete.amount(100);
await channel.bulkDelete.ids(["1077565703416193125", "1077383535477927977"]);

Implementation

BulkDeleteBuilder get bulkDelete => BulkDeleteBuilder(this);