Table of Contents

Class RestModalData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents data sent from a ModalSubmit Interaction.

public class RestModalData : IModalInteractionData, IDiscordInteractionData
Inheritance
RestModalData
Implements
Inherited Members

Properties

Components

Represents the Modals components submitted by the user.

public IReadOnlyCollection<RestMessageComponentData> Components { get; }

Property Value

IReadOnlyCollection<RestMessageComponentData>

CustomId

Gets the Modal's Custom Id.

public string CustomId { get; }

Property Value

string