Method AddTextInput
- Namespace
 - DSharpPlus.Entities
 
- Assembly
 - DSharpPlus.dll
 
AddTextInput(DiscordTextInputComponent, string, string?)
Adds a new text input to the modal.
public DiscordModalBuilder AddTextInput(DiscordTextInputComponent input, string label, string? description = null)
Parameters
inputDiscordTextInputComponentThe text input to add to this modal
labelstringA label text shown above the text input.
descriptionstringAn optional description for the text input.
Returns
- DiscordModalBuilder
 The updated builder to chain calls with.