Class RestMessageComponentData
Represents data for a Discord.Rest.RestMessageComponent
.
Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestMessageComponentData : IComponentInteractionData, IDiscordInteractionData
Properties​
CustomId​
Gets the components Custom Id that was clicked.
View Source​
Declaration
public string CustomId { get; }
Type​
Gets the type of the component clicked.
View Source​
Declaration
public ComponentType Type { get; }
Values​
Gets the value(s) of a Discord.SelectMenuComponent interaction response.
View Source​
Declaration
public IReadOnlyCollection<string> Values { get; }