Method AddTextComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
AddTextComponent(DiscordTextInputComponent)
Appends a text component to the builder.
[DiscordDeprecated("Use AddLabelComponent")]
public DiscordInteractionModalBuilder AddTextComponent(DiscordTextInputComponent component)
Parameters
componentDiscordTextInputComponentThe component to append.
Returns
- DiscordInteractionModalBuilder
The current builder to chain calls with.