API reference
API reference
Select your platform
No SDKs available
No versions available

AbuseReportOptions

Updated: Jul 24, 2025

AbuseReportOptions

data class AbuseReportOptions(var preventPeopleChooser: Boolean, var reportType: AbuseReportType)
The Abuse Report Options provide a way for developers to customize the reporting flow and specify the type of content being reported, which can be either a horizon.platform.abuse_report.enums.AbuseReportType.user or an horizon.platform.abuse_report.enums.AbuseReportType.object, helping to maintain a safe and respectful community within their application.

Constructors

NameSummary
AbuseReportOptions
constructor(preventPeopleChooser: Boolean, reportType: AbuseReportType)

Properties

NameSummary
json
val json: String
preventPeopleChooser
var preventPeopleChooser: Boolean
Set whether or not to show the user selection step. If the reported object is a user, they can choose to block the reported user from further interactions within the platform.
reportType
var reportType: AbuseReportType
The intended entity type horizon.platform.abuse_report.enums.AbuseReportType being reported, it can be either a user horizon.platform.abuse_report.enums.AbuseReportType.user or an object/content horizon.platform.abuse_report.enums.AbuseReportType.object.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon