Interface IApplicationCommandInteractionDataOption
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a option group for a command.
public interface IApplicationCommandInteractionDataOption
Properties
Name
Gets the name of the parameter.
string Name { get; }
Property Value
Options
Gets the nested options of this option.
IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }
Property Value
Type
Gets the type of this data's option.
ApplicationCommandOptionType Type { get; }
Property Value
Value
Gets the value of the pair.
note
This objects type can be any one of the option types in ApplicationCommandOptionType.
object Value { get; }