Table of Contents

Class ApplicationCommandInteractionData

Namespace
NetCord
Assembly
NetCord.dll

Contains data for an invoked ApplicationCommand.

public class ApplicationCommandInteractionData : InteractionData, IJsonModel<JsonInteractionData>
Inheritance
ApplicationCommandInteractionData
Implements
Derived
Inherited Members

Constructors

ApplicationCommandInteractionData(JsonInteractionData)

Contains data for an invoked ApplicationCommand.

public ApplicationCommandInteractionData(JsonInteractionData jsonModel)

Parameters

jsonModel JsonInteractionData

Properties

Id

The invoked ApplicationCommand's ID.

public ulong Id { get; }

Property Value

ulong

Name

The invoked ApplicationCommand's name.

public string Name { get; }

Property Value

string

Type

The invoked ApplicationCommand's type.

public ApplicationCommandType Type { get; }

Property Value

ApplicationCommandType