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
other
DiscordTextDisplayComponentThe text display component to copy.
DiscordTextDisplayComponent(string)
Constructs a new text display component field with the specified options.
public DiscordTextDisplayComponent(string content)
Parameters
content
stringThe content for the text display.