Interface InteractionFollowupMessageBuilder
-
- All Superinterfaces:
ExtendedInteractionMessageBuilderBase<InteractionFollowupMessageBuilder>,InteractionMessageBuilderBase<InteractionFollowupMessageBuilder>
public interface InteractionFollowupMessageBuilder extends ExtendedInteractionMessageBuilderBase<InteractionFollowupMessageBuilder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>send()Sends the follow-up message.java.util.concurrent.CompletableFuture<Message>update(long messageId)Edits a followup message that has already been sent for this interaction.java.util.concurrent.CompletableFuture<Message>update(java.lang.String messageId)Edits a followup message that has already been sent for this 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
-
send
java.util.concurrent.CompletableFuture<Message> send()
Sends the follow-up message.- Returns:
- A CompletableFuture of the new message.
-
update
java.util.concurrent.CompletableFuture<Message> update(long messageId)
Edits a followup message that has already been sent for this interaction.- Parameters:
messageId- The message id of the followup message which should be edited. It must be a message id of an already sent follow-up message id of this interaction and can not be any other message id.- Returns:
- The edited message.
-
update
java.util.concurrent.CompletableFuture<Message> update(java.lang.String messageId)
Edits a followup message that has already been sent for this interaction.- Parameters:
messageId- The message id of the followup message which should be edited. It must be a message id of an already sent follow-up message id of this interaction and can not be any other message id.- Returns:
- The edited message.
-
-