Interface InteractionImmediateResponseBuilder
-
- All Superinterfaces:
InteractionMessageBuilderBase<InteractionImmediateResponseBuilder>
public interface InteractionImmediateResponseBuilder extends InteractionMessageBuilderBase<InteractionImmediateResponseBuilder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<InteractionOriginalResponseUpdater>respond()Send the response.-
Methods inherited from interface org.javacord.api.interaction.callback.InteractionMessageBuilderBase
addComponents, addEmbed, addEmbeds, addEmbeds, append, append, append, appendCode, appendNamedLink, appendNewLine, getStringBuilder, removeAllComponents, removeAllEmbeds, removeComponent, removeComponent, removeEmbed, removeEmbeds, setAllowedMentions, setContent, setFlags, setFlags, setTts
-
-
-
-
Method Detail
-
respond
java.util.concurrent.CompletableFuture<InteractionOriginalResponseUpdater> respond()
Send the response.- Returns:
- A CompletableFuture that completes as soon as your message was sent. The future contains a
InteractionOriginalResponseUpdaterthat you can use to update your original response later on. Note that you can only update your response within 15 minutes after receiving the interaction.
-
-