Search Results for

    Show / Hide Table of Contents

    Interface IComponentInteractionData

    Represents the data sent with the IComponentInteraction.

    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public interface IComponentInteractionData : IDiscordInteractionData

    Properties

    | Improve this Doc View Source

    CustomId

    Gets the component's Custom Id that was clicked.

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

    Type

    Gets the type of the component clicked.

    Declaration
    ComponentType Type { get; }
    Property Value
    Type Description
    ComponentType
    | Improve this Doc View Source

    Value

    Gets the value of a TextInputComponent interaction response.

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

    Values

    Gets the value(s) of a SelectMenuComponent interaction response.

    Declaration
    IReadOnlyCollection<string> Values { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>

    Theme

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