Package discord4j.discordjson.json
Interface ApplicationCommandInteractionOptionData
-
@Immutable public interface ApplicationCommandInteractionOptionData
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static discord4j.discordjson.json.ImmutableApplicationCommandInteractionOptionData.Builder
builder()
String
name()
the name of the parameterdiscord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>>
options()
present if this option is a group or subcommandint
type()
the type of the parameterdiscord4j.discordjson.possible.Possible<String>
value()
the value of the pair
-
-
-
Method Detail
-
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
-
-