Table of Contents

Method AddTextComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

AddTextComponent(DiscordTextComponent)

Appends a text component to the builder.

public DiscordInteractionModalBuilder AddTextComponent(DiscordTextComponent component)

Parameters

component DiscordTextComponent

The component to append.

Returns

DiscordInteractionModalBuilder

The current builder to chain calls with.