Table of Contents

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

SeparatorSpacingSize?

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public SeparatorBuilder ToBuilder()

Returns

SeparatorBuilder