Class ButtonInteraction
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class ButtonInteraction : MessageComponentInteraction, IEquatable<Entity>, IInteraction, IEntity, ISpanFormattable, IFormattable, IJsonModel<JsonInteraction>
- Inheritance
-
ButtonInteraction
- Implements
- Inherited Members
Constructors
ButtonInteraction(JsonInteraction, Guild?, Func<IInteraction, InteractionCallback, RestRequestProperties?, CancellationToken, Task>, RestClient)
public ButtonInteraction(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 ButtonInteractionData Data { get; }