Interface: ModerateContributionParams
types/moderation.ModerateContributionParams
ModerateContributionParams interface
Properties
action
• action: string
Valid values are: scold_author, scold_flagger, ignore, hide, delete
Defined in
contribution_type
• contribution_type: SCContributionType
Valid values are: post, discussion, comment
Defined in
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
user
• Optional
user: number
The user id of the contribution flagger to scold (use only with action=scold_flagger)