Table of Contents

Class ParameterChoice

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Represents a Slash Command parameter choice.

public class ParameterChoice
Inheritance
ParameterChoice
Inherited Members

Constructors

ParameterChoice(string, object)

Initializes a new ParameterChoice.

public ParameterChoice(string name, object value)

Parameters

name string

Name of this choice.

value object

Value of this choice.

Properties

Name

Gets the name of the choice.

public string Name { get; }

Property Value

string

Value

Gets the value of the choice.

public object Value { get; }

Property Value

object