Table of Contents

Class ModalInteraction

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

Constructors

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

public ModalInteraction(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 ModalInteractionData Data { get; }

Property Value

ModalInteractionData

Message

Available if the modal was opened in response to a component interaction.

public Message? Message { get; }

Property Value

Message