await Report Message
suspend fun BaseChannel.awaitReportMessage(message: BaseMessage, reportCategoryInfo: ReportCategoryInfo, reportDescription: String?)
Reports a malicious message.
Since
4.21.0
Parameters
message
UserMessage or FileMessage.
report Category Info
The category of the report.
report Description
Report description. (optional)
See also
Report Category Info
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)
Content copied to clipboard
Reports a malicious message.
Since
4.17.0
Parameters
message
UserMessage or FileMessage.
report Category
ReportCategory.
report Description
Report description. (optional)
See also
Report Category