Skip to content

Commit dbbfb45

Browse files
committed
Update TextInput factory docs
1 parent fc2bb55 commit dbbfb45

File tree

1 file changed

+2
-1
lines changed
  • BotCommands-jda-ktx/src/main/kotlin/dev/freya02/botcommands/jda/ktx/components

1 file changed

+2
-1
lines changed

BotCommands-jda-ktx/src/main/kotlin/dev/freya02/botcommands/jda/ktx/components/TextInput.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ class InlineTextInput(
8383
/**
8484
* Discord text input, see [TextInput][net.dv8tion.jda.api.components.textinput.TextInput].
8585
*
86-
* @param customId The custom ID of the input, see [TextInput.Builder.setId]
86+
* @param customId The custom ID of the input, see [TextInput.Builder.setCustomId]
8787
* @param style Style of text input, see [TextInput.Builder.setStyle]
8888
* @param uniqueId Unique identifier of this component, see [Component.withUniqueId]
89+
* @param isRequired Whether the user is required to write in this TextInput, see [TextInput.Builder.setRequired]
8990
* @param range Minimum and maximum required length of this TextInput, see [TextInput.Builder.setRequiredRange]
9091
* @param value Pre-populated text for this TextInput field, see [TextInput.Builder.setValue]
9192
* @param placeholder Short hint that describes the expected value of the input field, see [TextInput.Builder.setPlaceholder]

0 commit comments

Comments
 (0)