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, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>>, RestClient)
public UserCommandInteraction(JsonInteraction jsonModel, Guild? guild, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>> sendResponseAsync, RestClient client)
Parameters
jsonModel
JsonInteractionguild
GuildsendResponseAsync
Func<IInteraction, InteractionCallback, bool, RestRequestProperties, CancellationToken, Task<InteractionCallbackResponse>>client
RestClient
Properties
Data
Holds the containing application command's data.
public override UserCommandInteractionData Data { get; }