Table of Contents

Class ComponentInteractionAttribute

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.

[AttributeUsage(AttributeTargets.Method)]
public class ComponentInteractionAttribute : Attribute
Inheritance
ComponentInteractionAttribute
Inherited Members

Constructors

ComponentInteractionAttribute(string)

Component interactions are interactions that are triggered by user actions on components, such as buttons, select menus, and modals.

public ComponentInteractionAttribute(string customId)

Parameters

customId string
The custom identifier for the component interaction (0-100 characters).

Properties

CustomId

The custom identifier for the component interaction (0-100 characters).

public string CustomId { get; }

Property Value

string