Package net.dv8tion.jda.api.interactions
Class AutoCompleteQuery
java.lang.Object
net.dv8tion.jda.api.interactions.AutoCompleteQuery
The query input for an 
auto-complete interaction.
 The value of such a query may not be a valid instance of the expected type.
 Discord does not do any validation for auto-complete queries. However, you are required to reply with the correct type.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
AutoCompleteQuery
 
- 
- 
Method Details- 
getNameThe name of the input field, usually an option name inCommandAutoCompleteInteraction.- Returns:
- The option name
 
- 
getValueThe query value that the user is currently typing.This is not validated and may not be a valid value for an actual command. For instance, a user may input invalid numbers for OptionType.NUMBER.- Returns:
- The current auto-completable query value
 
- 
getTypeThe expected option type for this query.- Returns:
- The option type expected from this auto-complete response
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-