DiscordAutoModerationActionMetadata

data class DiscordAutoModerationActionMetadata(val channelId: OptionalSnowflake = OptionalSnowflake.Missing, val durationSeconds: Optional<DurationInSeconds> = Optional.Missing(), val customMessage: Optional<String> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(channelId: OptionalSnowflake = OptionalSnowflake.Missing, durationSeconds: Optional<DurationInSeconds> = Optional.Missing(), customMessage: Optional<String> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "custom_message")
val customMessage: Optional<String>
Link copied to clipboard
@SerialName(value = "duration_seconds")
val durationSeconds: Optional<DurationInSeconds>