Package discord4j.discordjson.json
Interface ApplicationCommandInteractionOptionData
@Immutable
public interface ApplicationCommandInteractionOptionData
-
Method Summary
Modifier and TypeMethodDescriptionstatic discord4j.discordjson.json.ImmutableApplicationCommandInteractionOptionData.Builderbuilder()discord4j.discordjson.possible.Possible<Boolean>focused()Whether this option is the currently focused option for autocompletename()the name of the parameterdiscord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>>options()present if this option is a group or subcommandinttype()the type of the parameterdiscord4j.discordjson.possible.Possible<String>value()the value of the pair
-
Method Details
-
builder
static discord4j.discordjson.json.ImmutableApplicationCommandInteractionOptionData.Builder builder() -
name
String name()the name of the parameter -
value
discord4j.discordjson.possible.Possible<String> value()the value of the pair -
type
int type()the type of the parameter -
options
discord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>> options()present if this option is a group or subcommand -
focused
discord4j.discordjson.possible.Possible<Boolean> focused()Whether this option is the currently focused option for autocomplete
-