bulkDelete
open suspend fun bulkDelete(messages: Iterable<Snowflake>, deleteOlderMessages: Boolean = true, reason: String? = null)(source)
Requests to bulk delete the messages.
If deleteOlderMessages is true
(default), messages older than 14 days will be deleted individually. Otherwise they will be ignored.
Parameters
reason
the reason showing up in the audit log
Throws
if something went wrong during the request.