Table of Contents

Class SectionComponent

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a section component.

public class SectionComponent : INestedComponent, IMessageComponent
Inheritance
SectionComponent
Implements
Inherited Members
Extension Methods

Properties

Accessory

Gets the accessory of this section.

public IMessageComponent Accessory { get; }

Property Value

IMessageComponent

Components

Gets the components in this section.

public IReadOnlyCollection<IMessageComponent> Components { get; }

Property Value

IReadOnlyCollection<IMessageComponent>

Id

public int? Id { get; }

Property Value

int?

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public SectionBuilder ToBuilder()

Returns

SectionBuilder