Table of Contents

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, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>>, RestClient)

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

Parameters

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

Properties

Data

public override ButtonInteractionData Data { get; }

Property Value

ButtonInteractionData