Package org.javacord.core.entity.message
Class InteractionMessageBuilderDelegateImpl
- java.lang.Object
-
- org.javacord.core.entity.message.MessageBuilderBaseDelegateImpl
-
- org.javacord.core.entity.message.InteractionMessageBuilderDelegateImpl
-
- All Implemented Interfaces:
InteractionMessageBuilderDelegate
,MessageBuilderBaseDelegate
public class InteractionMessageBuilderDelegateImpl extends MessageBuilderBaseDelegateImpl implements InteractionMessageBuilderDelegate
-
-
Field Summary
-
Fields inherited from class org.javacord.core.entity.message.MessageBuilderBaseDelegateImpl
allowedMentions, attachmentsChanged, attachmentsToRemove, components, componentsChanged, contentChanged, embeds, embedsChanged, newAttachments, nonce, removeAllAttachments, replyingTo, stickerIds, strBuilder, tts
-
-
Constructor Summary
Constructors Constructor Description InteractionMessageBuilderDelegateImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copy(InteractionBase interaction)
java.util.concurrent.CompletableFuture<java.lang.Void>
deleteFollowupMessage(InteractionBase interaction, java.lang.String messageId)
java.util.concurrent.CompletableFuture<java.lang.Void>
deleteInitialResponse(InteractionBase interaction)
java.util.concurrent.CompletableFuture<Message>
editFollowupMessage(InteractionBase interaction, java.lang.String messageId)
java.util.concurrent.CompletableFuture<Message>
editOriginalResponse(InteractionBase interaction)
java.util.concurrent.CompletableFuture<Message>
sendFollowupMessage(InteractionBase interaction)
java.util.concurrent.CompletableFuture<java.lang.Void>
sendInitialResponse(InteractionBase interaction)
void
setFlags(java.util.EnumSet<MessageFlag> messageFlags)
java.util.concurrent.CompletableFuture<java.lang.Void>
updateOriginalMessage(InteractionBase interaction)
-
Methods inherited from class org.javacord.core.entity.message.MessageBuilderBaseDelegateImpl
addActionRow, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addComponents, addEmbed, addEmbeds, addMultipartBodyToRequest, addSticker, addStickers, append, append, append, appendCode, appendNamedLink, appendNewLine, copy, edit, getStringBuilder, prepareCommonWebhookMessageBodyParts, prepareComponents, prepareComponents, removeAllComponents, removeAllEmbeds, removeComponent, removeComponent, removeEmbed, removeEmbeds, removeExistingAttachment, removeExistingAttachments, removeExistingAttachments, replyTo, send, send, send, send, send, sendWithWebhook, setAllowedMentions, setContent, setNonce, setTts, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.javacord.api.entity.message.internal.MessageBuilderBaseDelegate
addActionRow, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachment, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addAttachmentAsSpoiler, addComponents, addEmbed, addEmbeds, addSticker, addStickers, append, append, append, appendCode, appendNamedLink, appendNewLine, copy, edit, getStringBuilder, removeAllComponents, removeAllEmbeds, removeComponent, removeComponent, removeEmbed, removeEmbeds, removeExistingAttachment, removeExistingAttachments, removeExistingAttachments, replyTo, send, send, send, send, sendWithWebhook, setAllowedMentions, setContent, setNonce, setTts
-
-
-
-
Method Detail
-
setFlags
public void setFlags(java.util.EnumSet<MessageFlag> messageFlags)
- Specified by:
setFlags
in interfaceInteractionMessageBuilderDelegate
-
sendInitialResponse
public java.util.concurrent.CompletableFuture<java.lang.Void> sendInitialResponse(InteractionBase interaction)
- Specified by:
sendInitialResponse
in interfaceInteractionMessageBuilderDelegate
-
deleteInitialResponse
public java.util.concurrent.CompletableFuture<java.lang.Void> deleteInitialResponse(InteractionBase interaction)
- Specified by:
deleteInitialResponse
in interfaceInteractionMessageBuilderDelegate
-
editOriginalResponse
public java.util.concurrent.CompletableFuture<Message> editOriginalResponse(InteractionBase interaction)
- Specified by:
editOriginalResponse
in interfaceInteractionMessageBuilderDelegate
-
sendFollowupMessage
public java.util.concurrent.CompletableFuture<Message> sendFollowupMessage(InteractionBase interaction)
- Specified by:
sendFollowupMessage
in interfaceInteractionMessageBuilderDelegate
-
updateOriginalMessage
public java.util.concurrent.CompletableFuture<java.lang.Void> updateOriginalMessage(InteractionBase interaction)
- Specified by:
updateOriginalMessage
in interfaceInteractionMessageBuilderDelegate
-
deleteFollowupMessage
public java.util.concurrent.CompletableFuture<java.lang.Void> deleteFollowupMessage(InteractionBase interaction, java.lang.String messageId)
- Specified by:
deleteFollowupMessage
in interfaceInteractionMessageBuilderDelegate
-
editFollowupMessage
public java.util.concurrent.CompletableFuture<Message> editFollowupMessage(InteractionBase interaction, java.lang.String messageId)
- Specified by:
editFollowupMessage
in interfaceInteractionMessageBuilderDelegate
-
copy
public void copy(InteractionBase interaction)
- Specified by:
copy
in interfaceInteractionMessageBuilderDelegate
-
-