Table of Contents

Interface IComponentSectionAccessoryProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
[JsonConverter(typeof(IComponentSectionAccessoryProperties.ComponentSectionAccessoryPropertiesConverter))]
public interface IComponentSectionAccessoryProperties

Properties

ComponentType

Type of the component.

[JsonPropertyName("type")]
ComponentType ComponentType { get; }

Property Value

ComponentType

Id

Unique identifier for the component. Auto populated through increment if not provided.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("id")]
int? Id { get; set; }

Property Value

int?

Methods

WithId(int?)

Unique identifier for the component. Auto populated through increment if not provided.

IComponentSectionAccessoryProperties WithId(int? id)

Parameters

id int?

Returns

IComponentSectionAccessoryProperties