Table of Contents

Method AddTextInputComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddTextInputComponent(DiscordTextInputComponent)

Adds a text input to this builder.

public T AddTextInputComponent(DiscordTextInputComponent component)

Parameters

component DiscordTextInputComponent

The component to add.

Returns

T

The builder to chain calls with.

Exceptions

InvalidOperationException

Thrown if there is insufficient slots to support the component.