Method AddAutoCompleteChoice
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
AddAutoCompleteChoice(DiscordAutoCompleteChoice)
Adds a single auto-complete choice to the builder.
public DiscordInteractionResponseBuilder AddAutoCompleteChoice(DiscordAutoCompleteChoice choice)
Parameters
choice
DiscordAutoCompleteChoiceThe choice to add.
Returns
- DiscordInteractionResponseBuilder
The current builder to chain calls with.