AccountAction

@Serializable
data class AccountAction(val type: ActionType? = null, val reportId: String? = null, val warningPresetId: String? = null, val reason: String?, val sendEmailNotification: Boolean? = null)

Object to perform an action against an Account.

Constructors

Link copied to clipboard
constructor(type: ActionType? = null, reportId: String? = null, warningPresetId: String? = null, reason: String?, sendEmailNotification: Boolean? = null)

Properties

Link copied to clipboard

Additional text for clarification of why this action was taken.

Link copied to clipboard
val reportId: String? = null

ID of an associated report that caused this action to be taken.

Link copied to clipboard

Whether an email should be sent to the user with the above information.

Link copied to clipboard
val type: ActionType? = null

The type of action to be taken.

Link copied to clipboard
val warningPresetId: String? = null

ID of a preset warning.