export declare class TextInputBuilder extends ComponentBuilder<APITextInputComponent>
No summary provided.
Name | Type | Optional | Description |
---|---|---|---|
other | JSONEncodable<APITextInputComponent> | APITextInputComponent | No | None |
Sets the custom id for this text input
Name | Type | Optional | Description |
---|---|---|---|
customId | string | No | None |
Sets the label for this text input
Name | Type | Optional | Description |
---|---|---|---|
label | string | No | None |
Sets the maximum length of text for this text input
Name | Type | Optional | Description |
---|---|---|---|
maxLength | number | No | None |
Sets the minimum length of text for this text input
Name | Type | Optional | Description |
---|---|---|---|
minLength | number | No | None |
Sets the placeholder of this text input
Name | Type | Optional | Description |
---|---|---|---|
placeholder | string | No | None |
Sets whether this text input is required
Name | Type | Optional | Description |
---|---|---|---|
required | boolean | Yes | None |
Sets the style for this text input
Name | Type | Optional | Description |
---|---|---|---|
style | TextInputStyle | No | None |
Sets the value of this text input
Name | Type | Optional | Description |
---|---|---|---|
value | string | No | None |