Table of Contents

Interface IAutocompleteInteraction

Namespace
Discord
Assembly
Discord.Net.Core.dll
public interface IAutocompleteInteraction : IDiscordInteraction, ISnowflakeEntity, IEntity<ulong>
Inherited Members
Extension Methods

Properties

Data

Gets the autocomplete data of this interaction.

IAutocompleteInteractionData Data { get; }

Property Value

IAutocompleteInteractionData

Methods

RespondAsync(IEnumerable<AutocompleteResult>, RequestOptions)

Responds to this interaction with a set of choices.

Task RespondAsync(IEnumerable<AutocompleteResult> result, RequestOptions options = null)

Parameters

result IEnumerable<AutocompleteResult>

The set of choices for the user to pick from. A max of 25 choices are allowed. Passing null for this argument will show the executing user that there is no choices for their autocompleted input.

options RequestOptions

The request options for this response.

Returns

Task