Class Modal
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a modal interaction.
public class Modal : IMessageComponent
- Inheritance
-
Modal
- Implements
- Inherited Members
Properties
Component
Gets the components in the modal.
public ModalComponent Component { get; set; }
Property Value
CustomId
Gets the custom id of the component if possible; otherwise null.
public string CustomId { get; set; }
Property Value
Title
Gets the title of the modal.
public string Title { get; set; }
Property Value
Type
Gets the ComponentType of this Message Component.
public ComponentType Type { get; }