Class DiscordComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
A component to attach to a message.
[JsonConverter(typeof(DiscordComponentJsonConverter))]
public class DiscordComponent : ObservableApiObject
- Inheritance
-
DiscordComponent
- Derived
- Inherited Members
Properties
- CustomId
The custom Id of this component, if applicable. Not applicable on ActionRow(s), link buttons, and premium buttons.
- Id
Gets the Id of the compenent. Auto populated by discord if not provided.
- Type
The type of component this represents.
Methods
- GetChildren()
Gets the child components of this component, if any.