Package discord4j.discordjson.json
Interface InteractionApplicationCommandCallbackData
-
@Immutable public interface InteractionApplicationCommandCallbackData
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description discord4j.discordjson.possible.Possible<AllowedMentionsData>allowedMentions()allowed mentions objectstatic discord4j.discordjson.json.ImmutableInteractionApplicationCommandCallbackData.Builderbuilder()discord4j.discordjson.possible.Possible<List<ApplicationCommandOptionChoiceData>>choices()A list of choices the user may pick in an auto-complete responsediscord4j.discordjson.possible.Possible<List<ComponentData>>components()discord4j.discordjson.possible.Possible<String>content()message contentdiscord4j.discordjson.possible.Possible<String>customId()discord4j.discordjson.possible.Possible<List<EmbedData>>embeds()supports up to 10 embedsdiscord4j.discordjson.possible.Possible<Integer>flags()set to 64 to make your response ephemeraldiscord4j.discordjson.possible.Possible<String>title()discord4j.discordjson.possible.Possible<Boolean>tts()is the response TTS
-
-
-
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
-
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 responseNote: 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()
-
-