Interface ApplicationCommandInteractionData


  • @Immutable
    public interface ApplicationCommandInteractionData
    • Method Detail

      • builder

        static discord4j.discordjson.json.ImmutableApplicationCommandInteractionData.Builder builder()
      • id

        discord4j.discordjson.possible.Possible<String> id()
        the ID of the invoked command
      • name

        discord4j.discordjson.possible.Possible<String> name()
        the name of the invoked command
      • type

        discord4j.discordjson.possible.Possible<Integer> type()
        the type of the invoked command
      • customId

        discord4j.discordjson.possible.Possible<String> customId()
      • componentType

        discord4j.discordjson.possible.Possible<Integer> componentType()
      • values

        discord4j.discordjson.possible.Possible<List<String>> values()
      • targetId

        discord4j.discordjson.possible.Possible<String> targetId()
        the ID of the user or message targeted by a user or message command
      • components

        discord4j.discordjson.possible.Possible<List<ComponentData>> components()
        array of message components for modal submit