Table of Contents

Property Id

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Id

The ID of the component - not to be confused with CustomId; this is a numeric ID only used for identifying the component within an array.

If this field is not set, it is generated in an auto-incrementing manner server-side.

[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
public int Id { get; set; }

Property Value

int