Table of Contents

Class SocketModalData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

Represents data sent from a ModalSubmit.

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

Properties

Components

Gets the Modal's components submitted by the user.

public IReadOnlyCollection<SocketMessageComponentData> Components { get; }

Property Value

IReadOnlyCollection<SocketMessageComponentData>

CustomId

Gets the Modal's Custom Id.

public string CustomId { get; }

Property Value

string