Search Results for

    Show / Hide Table of Contents

    Class SocketModalData

    Represents data sent from a ModalSubmit.

    Inheritance
    Object
    SocketModalData
    Implements
    IModalInteractionData
    IDiscordInteractionData
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class SocketModalData : object, IModalInteractionData, IDiscordInteractionData

    Properties

    | Improve this Doc View Source

    Components

    Gets the Modal's components submitted by the user.

    Declaration
    public IReadOnlyCollection<SocketMessageComponentData> Components { get; }
    Property Value
    Type Description
    IReadOnlyCollection<SocketMessageComponentData>
    | Improve this Doc View Source

    CustomId

    Gets the Modal's Custom Id.

    Declaration
    public string CustomId { get; }
    Property Value
    Type Description
    String

    Implements

    IModalInteractionData
    IDiscordInteractionData

    Theme

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