Search Results for

    Show / Hide Table of Contents

    Class InputComponentInfo

    Represents the base info class for IModal input components.

    Inheritance
    Object
    InputComponentInfo
    TextInputComponentInfo
    Namespace: Discord.Interactions
    Assembly: Discord.Net.Interactions.dll
    Syntax
    public abstract class InputComponentInfo : object

    Constructors

    | Improve this Doc View Source

    InputComponentInfo(IInputComponentBuilder, ModalInfo)

    Declaration
    protected InputComponentInfo(IInputComponentBuilder builder, ModalInfo modal)
    Parameters
    Type Name Description
    IInputComponentBuilder builder
    ModalInfo modal

    Properties

    | Improve this Doc View Source

    Attributes

    Gets a collection of the attributes of this command.

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

    ComponentType

    Gets the type of this component.

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

    CustomId

    Gets the custom id of this component.

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

    DefaultValue

    Gets the default value of this component.

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

    IsRequired

    Gets whether or not this component requires a user input.

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

    Label

    Gets the label of this component.

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

    Modal

    Gets the parent modal of this component.

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

    PropertyInfo

    Gets the property linked to this component.

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

    Type

    Gets the reference type of this component.

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

    TypeConverter

    Gets the ComponentTypeConverter assigned to this component.

    Declaration
    public ComponentTypeConverter TypeConverter { get; }
    Property Value
    Type Description
    ComponentTypeConverter

    Theme

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