Search Results for

    Show / Hide Table of Contents

    Class AutocompleteResult

    Represents a result to an autocomplete interaction.

    Inheritance
    Object
    AutocompleteResult
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class AutocompleteResult : object

    Constructors

    | Improve this Doc View Source

    AutocompleteResult()

    Creates a new AutocompleteResult.

    Declaration
    public AutocompleteResult()
    | Improve this Doc View Source

    AutocompleteResult(String, Object)

    Creates a new AutocompleteResult with the passed in name and value.

    Declaration
    public AutocompleteResult(string name, object value)
    Parameters
    Type Name Description
    String name
    Object value

    Properties

    | Improve this Doc View Source

    Name

    Gets or sets the name of the result.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Name cannot be null and has to be between 1-100 characters in length.

    | Improve this Doc View Source

    Value

    Gets or sets the value of the result.

    Declaration
    public object Value { get; set; }
    Property Value
    Type Description
    Object
    Remarks

    Only , , and are allowed for a value.

    Theme

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