Search Results for

    Show / Hide Table of Contents

    Class RestMessageComponentData

    Represents data for a RestMessageComponent.

    Inheritance
    Object
    RestMessageComponentData
    Implements
    IComponentInteractionData
    IDiscordInteractionData
    Namespace: Discord.Rest
    Assembly: Discord.Net.Rest.dll
    Syntax
    public class RestMessageComponentData : object, IComponentInteractionData, IDiscordInteractionData

    Properties

    | Improve this Doc View Source

    CustomId

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

    Type

    Gets the type of the component clicked.

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

    Value

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

    Values

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

    Implements

    IComponentInteractionData
    IDiscordInteractionData

    Theme

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