ModeratorActionType
public enum ModeratorActionType : String, CodableDescribes the type of action a moderator took. This enum is used both in the ModeratorAction Model, and in several Moderation DTOs. Be careful when modifying this. Not all ModeratorActionTypes are applicable to all ReportTypes.
- 
                  
                  The moderator has created a post, but is posting as @moderator or @twitarrTeam. ‘Post’ could be a twarrt, forum post, or fez post. DeclarationSwift case post
- 
                  
                  The moderator edited a piece of content owned by somebody else. For usercontent, this means the profile fields (custom avatar images can’t be edited by mods, only deleted).DeclarationSwift case edit
- 
                  
                  The moderator deleted somebody else’s content. For usercontent, this means the user photo (users and profile fields can’t be deleted).DeclarationSwift case delete
- 
                  
                  The moderator moved somebody’s content to another place. Currently this means they moved a forum to a new category. DeclarationSwift case move
- 
                  
                  The moderator has quarantined a user or a piece of content. Quarantined content still exists, but the server replaces the contents with a quarantine message. A quarantined user can still read content, but cannot post or edit. DeclarationSwift case quarantine
- 
                  
                  If enough users report on some content (e.g. a twarrt or forum post), that content will get auto-quarantined. A mod can review the content and if it’s not in violation they can set it’s modStatus to markReviewedto indicate the content is OK. This protects the content from auto-quarantining.DeclarationSwift case markReviewed
- 
                  
                  The moderator has locked a piece of content. Locking prevents the owner from modifying the content; locking a forum or fez prevents new messages from being posted. DeclarationSwift case lock
- 
                  
                  The moderator has unlocked a piece of content. DeclarationSwift case unlock
- 
                  
                  The moderator has pinned a forum post or thread. DeclarationSwift case pin
- 
                  
                  The moderator has unpinned a forum post or thread. DeclarationSwift case unpin
- 
                  
                  The mod set the userAccessLevelof a user to.unverifiedDeclarationSwift case accessLevelUnverified
- 
                  
                  The mod set the userAccessLevelof a user to.bannedDeclarationSwift case accessLevelBanned
- 
                  
                  The mod set the userAccessLevelof a user to.quarantinedDeclarationSwift case accessLevelQuarantined
- 
                  
                  The mod set the userAccessLevelof a user to.verifiedDeclarationSwift case accessLevelVerified
- 
                  
                  The mod set a temporary quarantine on the user. DeclarationSwift case tempQuarantine
- 
                  
                  The mod cleared a temporary quarantine on the user. DeclarationSwift case tempQuarantineCleared
- 
                  
                  DeclarationSwift static func setFromModerationStatus(_ status: ContentModerationStatus) -> ModeratorActionType
- 
                  
                  Returns nil for access levels that can’t be set normally DeclarationSwift static func setFromAccessLevel(_ level: UserAccessLevel) -> `Self`?
 View on GitHub
            View on GitHub
           ModeratorActionType Enumeration Reference
      ModeratorActionType Enumeration Reference