Class ComponentInteractionBuilder
- Namespace
- NetCord.Services.ComponentInteractions
- Assembly
- NetCord.Services.dll
Component interactions are interactions that are triggered by user actions on components, such as buttons, select menus, and modals.
public class ComponentInteractionBuilder
- Inheritance
-
ComponentInteractionBuilder
- Inherited Members
Constructors
ComponentInteractionBuilder(string, Delegate)
Component interactions are interactions that are triggered by user actions on components, such as buttons, select menus, and modals.
public ComponentInteractionBuilder(string customId, Delegate handler)
Parameters
customIdstringThe custom identifier for the component interaction (0-100 characters). handlerDelegateHandler that represents the body of the component interaction.
Properties
CustomId
The custom identifier for the component interaction (0-100 characters).
public string CustomId { get; }
Property Value
Handler
Handler that represents the body of the component interaction.
public Delegate Handler { get; }