Class SeparatorComponent
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a separator component.
public class SeparatorComponent : IMessageComponent
- Inheritance
-
SeparatorComponent
- Implements
- Inherited Members
Properties
Id
public int? Id { get; }
Property Value
- int?
IsDivider
Gets whether this component is a divider.
public bool? IsDivider { get; }
Property Value
- bool?
Spacing
Gets the spacing of this component.
public SeparatorSpacingSize? Spacing { get; }
Property Value
Type
Gets the ComponentType of this Message Component.
public ComponentType Type { get; }
Property Value
Methods
ToBuilder()
Converts a SeparatorComponent to a SeparatorBuilder.
public SeparatorBuilder ToBuilder()