Class AutoModerationActionMetadataProperties
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class AutoModerationActionMetadataProperties
- Inheritance
-
AutoModerationActionMetadataProperties
- Inherited Members
-
Constructors
public AutoModerationActionMetadataProperties()
Properties
[JsonPropertyName("channel_id")]
public ulong? ChannelId { get; set; }
Property Value
- ulong?
[JsonPropertyName("custom_message")]
public string? CustomMessage { get; set; }
Property Value
- string
[JsonPropertyName("duration_seconds")]
public int? DurationSeconds { get; set; }
Property Value
- int?
Methods
public AutoModerationActionMetadataProperties WithChannelId(ulong? channelId)
Parameters
channelId
ulong?
Returns
- AutoModerationActionMetadataProperties
public AutoModerationActionMetadataProperties WithCustomMessage(string? customMessage)
Parameters
customMessage
string
Returns
- AutoModerationActionMetadataProperties
public AutoModerationActionMetadataProperties WithDurationSeconds(int? durationSeconds)
Parameters
durationSeconds
int?
Returns
- AutoModerationActionMetadataProperties