Method AddTextComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
AddTextComponent(DiscordTextComponent)
Appends a text component to the builder.
public DiscordInteractionModalBuilder AddTextComponent(DiscordTextComponent component)
Parameters
component
DiscordTextComponentThe component to append.
Returns
- DiscordInteractionModalBuilder
The current builder to chain calls with.