Table of Contents

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

string

Options

Gets the nested options of this option.

IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }

Property Value

IReadOnlyCollection<IApplicationCommandInteractionDataOption>

Type

Gets the type of this data's option.

ApplicationCommandOptionType Type { get; }

Property Value

ApplicationCommandOptionType

Value

Gets the value of the pair.

note

This objects type can be any one of the option types in ApplicationCommandOptionType.

object Value { get; }

Property Value

object