Class DiscordComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
A component to attach to a message.
[JsonConverter(typeof(DiscordComponentJsonConverter))]
public class DiscordComponent
- Inheritance
-
objectDiscordComponent
- Derived
Properties
- CustomId
The Id of this component, if applicable. Not applicable on ActionRow(s) and link buttons.
- 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.
- Type
The type of component this represents.