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
Components
Gets the components in this container.
public IReadOnlyCollection<IMessageComponent> Components { get; }
Property Value
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
Methods
ToBuilder()
Converts a ContainerComponent to a ContainerBuilder.
public ContainerBuilder ToBuilder()