Class UserCommandInteraction
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class UserCommandInteraction : ApplicationCommandInteraction, IEquatable<Entity>, IInteraction, IEntity, ISpanFormattable, IFormattable, IJsonModel<JsonInteraction>
- Inheritance
-
UserCommandInteraction
- Implements
- Inherited Members
Constructors
UserCommandInteraction(JsonInteraction, Guild?, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task>, RestClient)
public UserCommandInteraction(JsonInteraction jsonModel, Guild? guild, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task> sendResponseAsync, RestClient client)
Parameters
jsonModel
JsonInteractionguild
GuildsendResponseAsync
Func<IInteraction, InteractionCallback, RestRequestProperties, CancellationToken, Task>client
RestClient
Properties
Data
public override UserCommandInteractionData Data { get; }