Table of Contents

Class ContainerComponent

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a container component.

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

Properties

AccentColor

Gets the accent color of this container.

public Color? AccentColor { get; }

Property Value

Color?

Components

Gets the components in this container.

public IReadOnlyCollection<IMessageComponent> Components { get; }

Property Value

IReadOnlyCollection<IMessageComponent>

Id

public int? Id { get; }

Property Value

int?

IsSpoiler

Gets whether this container is a spoiler.

public bool? IsSpoiler { get; }

Property Value

bool?

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public ContainerBuilder ToBuilder()

Returns

ContainerBuilder