reportMessage

suspend fun BaseChannel.reportMessage(message: BaseMessage, reportCategory: ReportCategory, reportDescription: String?)

Deprecated

As of 4.17.0, replaced with awaitReportMessage(message, reportCategory, reportDescription).

Replace with

awaitReportMessage(message, reportCategory, reportDescription)

Reports a malicious message.

Since

4.15.0

Parameters

message

UserMessage or FileMessage.

reportCategory

ReportCategory.

reportDescription

Report description. (optional)

See also

ReportCategory