Table of Contents

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

ModalComponent

CustomId

Gets the custom id of the component if possible; otherwise null.

public string CustomId { get; set; }

Property Value

string

Title

Gets the title of the modal.

public string Title { get; set; }

Property Value

string

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType