Table of Contents

Constructor DiscordSectionComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordSectionComponent(DiscordSectionComponent)

Constructs a new section component based on another section component.

public DiscordSectionComponent(DiscordSectionComponent other)

Parameters

other DiscordSectionComponent

The section component to copy.

DiscordSectionComponent(IEnumerable<DiscordTextDisplayComponent>)

Constructs a new section component field with the specified options.

public DiscordSectionComponent(IEnumerable<DiscordTextDisplayComponent> components)

Parameters

components IEnumerable<DiscordTextDisplayComponent>

The section components. Max of 3.