Table of Contents

Class AutoModerationActionProperties

Namespace
NetCord
Assembly
NetCord.dll
public class AutoModerationActionProperties
Inheritance
AutoModerationActionProperties
Inherited Members

Constructors

AutoModerationActionProperties(AutoModerationActionType)

public AutoModerationActionProperties(AutoModerationActionType type)

Parameters

type AutoModerationActionType

Properties

Metadata

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("metadata")]
public AutoModerationActionMetadataProperties? Metadata { get; set; }

Property Value

AutoModerationActionMetadataProperties

Type

[JsonPropertyName("type")]
public AutoModerationActionType Type { get; set; }

Property Value

AutoModerationActionType

Methods

WithMetadata(AutoModerationActionMetadataProperties?)

public AutoModerationActionProperties WithMetadata(AutoModerationActionMetadataProperties? metadata)

Parameters

metadata AutoModerationActionMetadataProperties

Returns

AutoModerationActionProperties

WithType(AutoModerationActionType)

public AutoModerationActionProperties WithType(AutoModerationActionType type)

Parameters

type AutoModerationActionType

Returns

AutoModerationActionProperties