Interface IApplicationCommandInteractionDataOption
Represents a option group for a command.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IApplicationCommandInteractionDataOption
Properties​
Name​
Gets the name of the parameter.
View Source​
Declaration
string Name { get; }
Value​
Gets the value of the pair. <div class="NOTE"><h5>note</h5><p> This objects type can be any one of the option types in Discord.ApplicationCommandOptionType. </p></div>
View Source​
Declaration
object Value { get; }
Type​
Gets the type of this data's option.
View Source​
Declaration
ApplicationCommandOptionType Type { get; }
Options​
Gets the nested options of this option.
View Source​
Declaration
IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }