Table of Contents

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 DiscordTextDisplayComponent

The text display component to copy.

DiscordTextDisplayComponent(string)

Constructs a new text display component field with the specified options.

public DiscordTextDisplayComponent(string content)

Parameters

content string

The content for the text display.