Table of Contents

Class SlashCommandInteraction

Namespace
NetCord
Assembly
NetCord.dll
public class SlashCommandInteraction : ApplicationCommandInteraction, IEquatable<Entity>, IInteraction, IEntity, ISpanFormattable, IFormattable, IJsonModel<JsonInteraction>
Inheritance
SlashCommandInteraction
Implements
Inherited Members

Constructors

SlashCommandInteraction(JsonInteraction, Guild?, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task>, RestClient)

public SlashCommandInteraction(JsonInteraction jsonModel, Guild? guild, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task> sendResponseAsync, RestClient client)

Parameters

jsonModel JsonInteraction
guild Guild
sendResponseAsync Func<IInteraction, InteractionCallback, RestRequestProperties, CancellationToken, Task>
client RestClient

Properties

Data

public override SlashCommandInteractionData Data { get; }

Property Value

SlashCommandInteractionData