Report a message, user, or channel
Users can report suspicious or harassing messages and other users who use abusive language in a channel. They can also report the channel itself if there is any inappropriate content or activity in the channel. Based on this functionality and our report API, you can build your own in-app system for managing objectionable content and subject.
To use report API, you can use getReportCategoryInfoList API to retrieve the list of available report categories. Once the category list is fetched, allow the user to select one of the categories. The selected category can be included as a parameter when invoking report API.
List of parameters
Parameter name | Type | Description |
---|---|---|
message | Specifies the message to report for its suspicious, harassing, or inappropriate content. | |
offendingUser | Specifies the user who uses offensive or abusive language such as sending explicit messages or inappropriate comments. | |
reportCategoryInfo | Specifies a report category that indicates the reason for reporting. You can retrieve ReportCategoryInfo through | |
reportDescription | String | Specifies additional information to include in the report. |