Class ComponentContainer
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class ComponentContainer : IMessageComponent, IComponent, IJsonModel<JsonComponent>
- Inheritance
-
ComponentContainer
- Implements
- Inherited Members
Constructors
ComponentContainer(JsonComponent)
public ComponentContainer(JsonComponent jsonModel)
Parameters
jsonModel
JsonComponent
Properties
AccentColor
public Color? AccentColor { get; }
Property Value
Components
public IReadOnlyList<IComponentContainerComponent> Components { get; }
Property Value
Id
Unique identifier for the component.
public int Id { get; }
Property Value
Spoiler
public bool Spoiler { get; }