Skip to main content

Interface IComponentInteractionData

Represents the data sent with the Discord.IComponentInteraction.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IComponentInteractionData : IDiscordInteractionData

Properties​

CustomId​

Gets the components Custom Id that was clicked.

View Source​
Declaration
string CustomId { get; }

Type​

Gets the type of the component clicked.

View Source​
Declaration
ComponentType Type { get; }

Values​

Gets the value(s) of a Discord.SelectMenuComponent interaction response.

View Source​
Declaration
IReadOnlyCollection<string> Values { get; }