Table of Contents

Class AutocompleteAttribute<T>

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Set the IsAutocomplete to true.

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class AutocompleteAttribute<T> : AutocompleteAttribute where T : class, IAutocompleteHandler

Type Parameters

T

Type of the AutocompleteHandler that will be used to handle Autocomplete interactions targeting the parameter.

Inheritance
AutocompleteAttribute<T>
Inherited Members

Constructors

AutocompleteAttribute()

Set the IsAutocomplete to true.

public AutocompleteAttribute()