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
Components
Gets the components in this section.
public IReadOnlyCollection<IMessageComponent> Components { get; }
Property Value
Id
public int? Id { get; }
Property Value
- int?
Type
Gets the ComponentType of this Message Component.
public ComponentType Type { get; }
Property Value
Methods
ToBuilder()
Converts a SectionComponent to a SectionBuilder.
public SectionBuilder ToBuilder()