toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.modals
/
TextInputBuilder
/
setRequiredRange
set
Required
Range
fun
setRequiredRange
(
range
:
IntRange
)
:
TextInputBuilder
(
source
)
Sets the minimum and maximum required length on this TextInput component.
open
override
fun
setRequiredRange
(
min
:
Int
,
max
:
Int
)
:
TextInputBuilder
(
source
)