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