Interface ApplicationCommandInteractionData


@Immutable public interface ApplicationCommandInteractionData
  • Method Summary

    Modifier and Type
    Method
    Description
    static discord4j.discordjson.json.ImmutableApplicationCommandInteractionData.Builder
     
    discord4j.discordjson.possible.Possible<List<ComponentData>>
    array of message components for modal submit
    discord4j.discordjson.possible.Possible<Integer>
     
    discord4j.discordjson.possible.Possible<String>
     
    discord4j.discordjson.possible.Possible<String>
    id()
    the ID of the invoked command
    discord4j.discordjson.possible.Possible<String>
    the name of the invoked command
    discord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>>
    the params + values from the user
    discord4j.discordjson.possible.Possible<ApplicationCommandInteractionResolvedData>
    converted users + members + roles + channels
    discord4j.discordjson.possible.Possible<String>
    the ID of the user or message targeted by a user or message command
    discord4j.discordjson.possible.Possible<Integer>
    the type of the invoked command
    discord4j.discordjson.possible.Possible<List<String>>
     
  • Method Details

    • 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
    • resolved

      discord4j.discordjson.possible.Possible<ApplicationCommandInteractionResolvedData> resolved()
      converted users + members + roles + channels
    • options

      discord4j.discordjson.possible.Possible<List<ApplicationCommandInteractionOptionData>> options()
      the params + values from the user
    • 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