Interface IAutoCompleteCallback

All Superinterfaces:
Interaction, ISnowflake
All Known Subinterfaces:
CommandAutoCompleteInteraction
All Known Implementing Classes:
CommandAutoCompleteInteractionEvent, GenericAutoCompleteInteractionEvent

public interface IAutoCompleteCallback extends Interaction
Interactions which allow auto-complete suggestion replies.

Auto-complete must be enabled on options via OptionData.setAutoComplete(boolean). When a user inputs auto-complete options, you will receive these interactions and can provide up to 25 suggestions for the user to pick from. You can also use replyChoices(Command.Choice...) without parameters to acknowledge the interaction with 0 choices.