Interface InteractionApplicationCommandCallbackData


@Immutable public interface InteractionApplicationCommandCallbackData
  • Method Summary

    Modifier and Type
    Method
    Description
    discord4j.discordjson.possible.Possible<AllowedMentionsData>
    allowed mentions object
    static discord4j.discordjson.json.ImmutableInteractionApplicationCommandCallbackData.Builder
     
    discord4j.discordjson.possible.Possible<List<ApplicationCommandOptionChoiceData>>
    A list of choices the user may pick in an auto-complete response
    discord4j.discordjson.possible.Possible<List<ComponentData>>
     
    discord4j.discordjson.possible.Possible<String>
    message content
    discord4j.discordjson.possible.Possible<String>
     
    discord4j.discordjson.possible.Possible<List<EmbedData>>
    supports up to 10 embeds
    discord4j.discordjson.possible.Possible<Integer>
    set to 64 to make your response ephemeral
    discord4j.discordjson.possible.Possible<String>
     
    discord4j.discordjson.possible.Possible<Boolean>
    tts()
    is the response TTS
  • Method Details

    • 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()