Class SocketModalData
Represents data sent from a ModalSubmit.
Namespace: Discord.WebSocket
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketModalData : object, IModalInteractionData, IDiscordInteractionData
Properties
| Improve this Doc View SourceComponents
Gets the Modal's components submitted by the user.
Declaration
public IReadOnlyCollection<SocketMessageComponentData> Components { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<SocketMessageComponentData> |
CustomId
Gets the Modal's Custom Id.
Declaration
public string CustomId { get; }
Property Value
Type | Description |
---|---|
String |