Package discord4j.discordjson.json
Interface ApplicationCommandOptionChoiceData
@Immutable
public interface ApplicationCommandOptionChoiceData
-
Method Details
-
builder
static discord4j.discordjson.json.ImmutableApplicationCommandOptionChoiceData.Builder builder() -
name
String name()1-100 character choice name -
nameLocalizations
-
value
Object value()value of the choice, should be either an up to 100 characterStringfor ApplicationCommandOptionType.STRING, aByte/Short/Integer/Longfor ApplicationCommandOptionType.INTEGER or aFloat/Doublefor ApplicationCommandOptionType.NUMBER.- See Also:
-