Interface InteractionOriginalResponseUpdater
-
- All Superinterfaces:
ExtendedInteractionMessageBuilderBase<InteractionOriginalResponseUpdater>,InteractionMessageBuilderBase<InteractionOriginalResponseUpdater>
public interface InteractionOriginalResponseUpdater extends ExtendedInteractionMessageBuilderBase<InteractionOriginalResponseUpdater>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>delete()Deletes your initial response permanently.java.util.concurrent.CompletableFuture<Message>update()Updates your initial response to the interaction.-
Methods inherited from interface org.javacord.api.interaction.callback.ExtendedInteractionMessageBuilderBase
addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, copy, copy
-
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
-
update
java.util.concurrent.CompletableFuture<Message> update()
Updates your initial response to the interaction. Note: You can not update the message using any of the edit methods on the message entity as these are webhook messages. Please re-use this updater to apply further updates on the message.- Returns:
- the message object representing the edited message
-
delete
java.util.concurrent.CompletableFuture<java.lang.Void> delete()
Deletes your initial response permanently.- Returns:
- A CompletableFuture that completes as soon as the message has been deleted.
-
-