Table of Contents

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

customId string
The custom identifier for the component interaction (0-100 characters).
handler Delegate
Handler 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

string

Handler

Handler that represents the body of the component interaction.

public Delegate Handler { get; }

Property Value

Delegate