Interface ComponentInteractionOriginalMessageUpdater
-
- All Superinterfaces:
ExtendedInteractionMessageBuilderBase<ComponentInteractionOriginalMessageUpdater>,InteractionMessageBuilderBase<ComponentInteractionOriginalMessageUpdater>
public interface ComponentInteractionOriginalMessageUpdater extends ExtendedInteractionMessageBuilderBase<ComponentInteractionOriginalMessageUpdater>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>update()Updates the message this component is attached to.-
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<java.lang.Void> update()
Updates the message this component is attached to. You must call this method within 3 seconds after receiving the interaction.- Returns:
- A CompletableFuture that completes as soon as the request has been submitted successfully
-
-