awaitReportMessage

suspend fun BaseChannel.awaitReportMessage(message: BaseMessage, reportCategoryInfo: ReportCategoryInfo, reportDescription: String?)

Reports a malicious message.

Since

4.21.0

Parameters

message

UserMessage or FileMessage.

reportCategoryInfo

The category of the report.

reportDescription

Report description. (optional)

See also

ReportCategoryInfo

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

Deprecated

As of 4.21.0, replaced with awaitReportMessage(BaseMessage, ReportCategoryInfo, String?)

Replace with

awaitReportMessage(message, reportCategoryInfo, reportDescription)

Reports a malicious message.

Since

4.17.0

Parameters

message

UserMessage or FileMessage.

reportCategory

ReportCategory.

reportDescription

Report description. (optional)

See also

ReportCategory