Table of Contents

Method WithTextComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

WithTextComponent(DiscordTextInputComponent)

Sets the text component for the label.

public DiscordLabelComponent WithTextComponent(DiscordTextInputComponent component)

Parameters

component DiscordTextInputComponent

The text component to attach to the label.

Returns

DiscordLabelComponent