Table of Contents

Class DiscordInteractionDataOption

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents parameters for interaction commands.

public sealed class DiscordInteractionDataOption : ObservableApiObject
Inheritance
DiscordInteractionDataOption
Inherited Members

Properties

Focused

Whether this option is currently focused by the user. Only applicable for autocomplete option choices.

Name

Gets the name of this interaction parameter.

Options

Gets the additional parameters if this parameter is a subcommand.

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