deleteMessage

open suspend fun deleteMessage(id: Snowflake, reason: String? = null)(source)

Requests to delete a message in this channel.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.