Length
annotation class Length(val min: Int = 1, val max: Int = OptionData.MAX_STRING_OPTION_LENGTH)(source)
Sets the minimum and maximum string length on the specified @SlashOption.
Note: This is only for string types!
See also
DSL equivalent
Sets the minimum and maximum string length on the specified @SlashOption.
Note: This is only for string types!
DSL equivalent