Table of Contents

Method AddAutoCompleteChoices

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddAutoCompleteChoices(IEnumerable<DiscordAutoCompleteChoice>)

Adds auto-complete choices to the builder.

public DiscordInteractionResponseBuilder AddAutoCompleteChoices(IEnumerable<DiscordAutoCompleteChoice> choices)

Parameters

choices IEnumerable<DiscordAutoCompleteChoice>

The choices to add.

Returns

DiscordInteractionResponseBuilder

The current builder to chain calls with.

AddAutoCompleteChoices(params DiscordAutoCompleteChoice[])

Adds auto-complete choices to the builder.

public DiscordInteractionResponseBuilder AddAutoCompleteChoices(params DiscordAutoCompleteChoice[] choices)

Parameters

choices DiscordAutoCompleteChoice[]

The choices to add.

Returns

DiscordInteractionResponseBuilder

The current builder to chain calls with.