assignPresets
Deprecated
This can be replaced with 'presets', it is now a 'var'. The deprecation level will be raised to ERROR in 0.16.0, to HIDDEN in 0.17.0, and this declaration will be removed in 0.18.0.
Replace with
import kotlin.run
Content copied to clipboard
this.run { [email protected] = presets }
Content copied to clipboard
Use this to set presets for KeywordPresetAutoModerationRuleBuilder.