Table of Contents

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

Color?

Components

public IReadOnlyList<IComponentContainerComponent> Components { get; }

Property Value

IReadOnlyList<IComponentContainerComponent>

Id

Unique identifier for the component.

public int Id { get; }

Property Value

int

Spoiler

public bool Spoiler { get; }

Property Value

bool