Interface IComponentInteractionData
Represents the data sent with the IComponentInteraction.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IComponentInteractionData : IDiscordInteractionData
Properties
| Improve this Doc View SourceCustomId
Gets the component's Custom Id that was clicked.
Declaration
string CustomId { get; }
Property Value
Type | Description |
---|---|
String |
Type
Gets the type of the component clicked.
Declaration
ComponentType Type { get; }
Property Value
Type | Description |
---|---|
ComponentType |
Value
Gets the value of a TextInputComponent interaction response.
Declaration
string Value { get; }
Property Value
Type | Description |
---|---|
String |
Values
Gets the value(s) of a SelectMenuComponent interaction response.
Declaration
IReadOnlyCollection<string> Values { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<String> |