CreateActivityRequest
data class CreateActivityRequest(val reportId: Long, val activity: CreateActivityRequestActivityUnion, val internalNote: String? = null, val publicNote: String? = null, val isAutomated: Boolean? = false)
Parameters
reportId
ID of the report to record activity on
activity
The type of activity to record.
internalNote
Optional moderator-only note. Not visible to reporters.
publicNote
Optional public-facing note, potentially visible to the reporter.
isAutomated
Set true when this activity is triggered by an automated process. Defaults to false.
Constructors
Link copied to clipboard
constructor(reportId: Long, activity: CreateActivityRequestActivityUnion, internalNote: String? = null, publicNote: String? = null, isAutomated: Boolean? = false)
Properties
Link copied to clipboard
The type of activity to record.
Link copied to clipboard
Optional moderator-only note. Not visible to reporters.
Link copied to clipboard
Set true when this activity is triggered by an automated process. Defaults to false.
Link copied to clipboard
Optional public-facing note, potentially visible to the reporter.