Class Modal
Represents a modal interaction.
Implements
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class Modal : object, IMessageComponent
Properties
| Improve this Doc View SourceComponent
Gets the components in the modal.
Declaration
public ModalComponent Component { get; set; }
Property Value
Type | Description |
---|---|
ModalComponent |
CustomId
Gets the custom id of the component if possible; otherwise null.
Declaration
public string CustomId { get; set; }
Property Value
Type | Description |
---|---|
String |
Title
Gets the title of the modal.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
String |
Type
Gets the ComponentType of this Message Component.
Declaration
public ComponentType Type { get; }
Property Value
Type | Description |
---|---|
ComponentType |