AutoCompleteArgument
data class AutoCompleteArgument(val name: String, val type: ApplicationCommandOptionType, val value: String, val focused: OptionalBoolean) : CommandArgument<String> (source)
Representation of a partial user input of an auto completed argument.
Constructors
Link copied to clipboard
constructor(name: String, type: ApplicationCommandOptionType, value: String, focused: OptionalBoolean)
Properties
Link copied to clipboard
always true, since this is an auto complete argument
Link copied to clipboard
the type of the backing argument (not the type of value as the user can enter anything)