Table of Contents

Class AutoModerationActionMetadataProperties

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

Constructors

AutoModerationActionMetadataProperties()

public AutoModerationActionMetadataProperties()

Properties

ChannelId

[JsonPropertyName("channel_id")]
public ulong? ChannelId { get; set; }

Property Value

ulong?

CustomMessage

[JsonPropertyName("custom_message")]
public string? CustomMessage { get; set; }

Property Value

string

DurationSeconds

[JsonPropertyName("duration_seconds")]
public int? DurationSeconds { get; set; }

Property Value

int?

Methods

WithChannelId(ulong?)

public AutoModerationActionMetadataProperties WithChannelId(ulong? channelId)

Parameters

channelId ulong?

Returns

AutoModerationActionMetadataProperties

WithCustomMessage(string?)

public AutoModerationActionMetadataProperties WithCustomMessage(string? customMessage)

Parameters

customMessage string

Returns

AutoModerationActionMetadataProperties

WithDurationSeconds(int?)

public AutoModerationActionMetadataProperties WithDurationSeconds(int? durationSeconds)

Parameters

durationSeconds int?

Returns

AutoModerationActionMetadataProperties