Table of Contents

Class DiscordInteractionDataOption

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents parameters for interaction commands.

public sealed class DiscordInteractionDataOption
Inheritance
object
DiscordInteractionDataOption

Properties

Focused

If this is an autocomplete option: Whether this option is currently active.

Name

Gets the name of this interaction parameter.

Options

Gets the additional parameters if this parameter is a subcommand.

RawValue

Gets the raw value of this interaction parameter.

Type

Gets the type of this interaction parameter.

Value

Gets the value of this interaction parameter.

This can be cast to a long, bool, string, double or ulong depending on the Type