Interface IAutocompleteProvider<TAutocompleteContext>
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
public interface IAutocompleteProvider<TAutocompleteContext> where TAutocompleteContext : IAutocompleteInteractionContext
Type Parameters
TAutocompleteContext
Methods
GetChoicesAsync(ApplicationCommandInteractionDataOption, TAutocompleteContext)
ValueTask<IEnumerable<ApplicationCommandOptionChoiceProperties>?> GetChoicesAsync(ApplicationCommandInteractionDataOption option, TAutocompleteContext context)
Parameters
option
ApplicationCommandInteractionDataOptioncontext
TAutocompleteContext