Search Results for

    Show / Hide Table of Contents

    Class Modal

    Represents a modal interaction.

    Inheritance
    Object
    Modal
    Implements
    IMessageComponent
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class Modal : object, IMessageComponent

    Properties

    | Improve this Doc View Source

    Component

    Gets the components in the modal.

    Declaration
    public ModalComponent Component { get; set; }
    Property Value
    Type Description
    ModalComponent
    | Improve this Doc View Source

    CustomId

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

    Declaration
    public string CustomId { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Title

    Gets the title of the modal.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Type

    Gets the ComponentType of this Message Component.

    Declaration
    public ComponentType Type { get; }
    Property Value
    Type Description
    ComponentType

    Implements

    IMessageComponent

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2