Table of Contents

Class DiscordSectionComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

A section for components (as of now, just text) and an accessory on the side.

public class DiscordSectionComponent : DiscordComponent
Inheritance
object
DiscordSectionComponent
Inherited Members

Constructors

DiscordSectionComponent(DiscordComponent, DiscordComponent)

Constructs a new section component.

DiscordSectionComponent(IReadOnlyList<DiscordComponent>, DiscordComponent)

Constructs a new section component.

DiscordSectionComponent(string, DiscordComponent)

Constructs a new DiscordSectionComponent

Properties

Accessory

Gets the accessory for this section.

Components

Gets the components for this section. As of now, this is only text components, but may allow for more components in the future.