Skip to main content

Interface: ModerateContributionParams

types/moderation.ModerateContributionParams

ModerateContributionParams interface

Properties

action

action: string

Valid values are: scold_author, scold_flagger, ignore, hide, delete

Defined in

types/moderation.ts:29


contribution_type

contribution_type: SCContributionType

Valid values are: post, discussion, comment

Defined in

types/moderation.ts:25


moderation_type

moderation_type: SCFlagTypeEnum

An integer value to describe the moderation activity if action is one between scold_author, hide or delete. This param is not needed if the contribute is already hidden or deleted (you are restoring).

Defined in

types/moderation.ts:37


user

Optional user: number

The user id of the contribution flagger to scold (use only with action=scold_flagger)

Defined in

types/moderation.ts:33