Method AddTextInputComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
AddTextInputComponent(DiscordTextInputComponent)
Adds a text input to this builder.
IDiscordMessageBuilder AddTextInputComponent(DiscordTextInputComponent component)
Parameters
component
DiscordTextInputComponentThe component to add.
Returns
- IDiscordMessageBuilder
The builder to chain calls with.
Exceptions
- InvalidOperationException
Thrown if there is insufficient slots to support the component.