DiscordAutoModerationRuleTriggerMetadata

data class DiscordAutoModerationRuleTriggerMetadata(val keywordFilter: Optional<List<String>> = Optional.Missing(), val regexPatterns: Optional<List<String>> = Optional.Missing(), val presets: Optional<List<AutoModerationRuleKeywordPresetType>> = Optional.Missing(), val allowList: Optional<List<String>> = Optional.Missing(), val mentionTotalLimit: OptionalInt = OptionalInt.Missing, val mentionRaidProtectionEnabled: OptionalBoolean = OptionalBoolean.Missing)(source)

Constructors

Link copied to clipboard
constructor(keywordFilter: Optional<List<String>> = Optional.Missing(), regexPatterns: Optional<List<String>> = Optional.Missing(), presets: Optional<List<AutoModerationRuleKeywordPresetType>> = Optional.Missing(), allowList: Optional<List<String>> = Optional.Missing(), mentionTotalLimit: OptionalInt = OptionalInt.Missing, mentionRaidProtectionEnabled: OptionalBoolean = OptionalBoolean.Missing)

Properties

Link copied to clipboard
@SerialName(value = "allow_list")
val allowList: Optional<List<String>>
Link copied to clipboard
@SerialName(value = "keyword_filter")
val keywordFilter: Optional<List<String>>
Link copied to clipboard
@SerialName(value = "mention_raid_protection_enabled")
val mentionRaidProtectionEnabled: OptionalBoolean
Link copied to clipboard
@SerialName(value = "mention_total_limit")
val mentionTotalLimit: OptionalInt
Link copied to clipboard
@SerialName(value = "regex_patterns")
val regexPatterns: Optional<List<String>>