report Message
fun reportMessage(message: BaseMessage, reportCategoryInfo: ReportCategoryInfo, reportDescription: String?, handler: CompletionHandler?)
Reports a malicious message.
Since
4.21.0
Parameters
message
report Category Info
report Description
Report description. (optional)
handler
Callback handler.
fun reportMessage(message: BaseMessage, reportCategory: ReportCategory, reportDescription: String?, handler: CompletionHandler?)
Deprecated
As of 4.21.0, use reportMessage(BaseMessage, ReportCategoryInfo, String?, CompletionHandler?) instead.
Replace with
reportMessage(message, ReportCategoryInfo.from(reportCategory), reportDescription, handler)
Content copied to clipboard
Reports a malicious message.
Since
3.0.105
Parameters
message
report Category
report Description
Report description. (optional)
handler
Callback handler.