Table of Contents

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

component DiscordTextInputComponent

The component to append.

Returns

DiscordInteractionModalBuilder

The current builder to chain calls with.