Interface InteractionApplicationCommandCallbackData


  • @Immutable
    public interface InteractionApplicationCommandCallbackData
    • Method Detail

      • builder

        static discord4j.discordjson.json.ImmutableInteractionApplicationCommandCallbackData.Builder builder()
      • tts

        discord4j.discordjson.possible.Possible<Boolean> tts()
        is the response TTS
      • content

        discord4j.discordjson.possible.Possible<String> content()
        message content
      • embeds

        discord4j.discordjson.possible.Possible<List<EmbedData>> embeds()
        supports up to 10 embeds
      • allowedMentions

        discord4j.discordjson.possible.Possible<AllowedMentionsData> allowedMentions()
        allowed mentions object
      • flags

        discord4j.discordjson.possible.Possible<Integer> flags()
        set to 64 to make your response ephemeral
      • components

        discord4j.discordjson.possible.Possible<List<ComponentData>> components()
      • choices

        discord4j.discordjson.possible.Possible<List<ApplicationCommandOptionChoiceData>> choices()
        A list of choices the user may pick in an auto-complete response

        Note: this discord docs are incorrect about the optionality of this field. It is only valid and required for the autocomplete result response type.

      • customId

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

        discord4j.discordjson.possible.Possible<String> title()