Method WithTextComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
WithTextComponent(DiscordTextInputComponent)
Sets the text component for the label.
public DiscordLabelComponent WithTextComponent(DiscordTextInputComponent component)
Parameters
componentDiscordTextInputComponentThe text component to attach to the label.