Interface ApplicationCommandInteractionOptionData


@Immutable public interface ApplicationCommandInteractionOptionData
  • Method Summary

    Modifier and Type
    Method
    Description
    static discord4j.discordjson.json.ImmutableApplicationCommandInteractionOptionData.Builder
     
    discord4j.discordjson.possible.Possible<Boolean>
    Whether this option is the currently focused option for autocomplete
    the name of the parameter
    discord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>>
    present if this option is a group or subcommand
    int
    the type of the parameter
    discord4j.discordjson.possible.Possible<String>
    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