Constructor DiscordTextDisplayComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordTextDisplayComponent(DiscordTextDisplayComponent)
Constructs a new text display component based on another text display component.
public DiscordTextDisplayComponent(DiscordTextDisplayComponent other)
Parameters
otherDiscordTextDisplayComponentThe text display component to copy.
DiscordTextDisplayComponent(string)
Constructs a new text display component field with the specified options.
public DiscordTextDisplayComponent(string content)
Parameters
contentstringThe content for the text display.