Interface ExtendedInteractionMessageBuilderBase<T>
-
- All Superinterfaces:
InteractionMessageBuilderBase<T>
- All Known Subinterfaces:
ComponentInteractionOriginalMessageUpdater,InteractionFollowupMessageBuilder,InteractionOriginalResponseUpdater
- All Known Implementing Classes:
InteractionMessageBuilder
public interface ExtendedInteractionMessageBuilderBase<T> extends InteractionMessageBuilderBase<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaddAttachment(byte[] bytes, java.lang.String fileName)Adds an attachment to the message.TaddAttachment(byte[] bytes, java.lang.String fileName, java.lang.String description)Adds an attachment to the message.TaddAttachment(java.awt.image.BufferedImage image, java.lang.String fileName)Adds an attachment to the message.TaddAttachment(java.awt.image.BufferedImage image, java.lang.String fileName, java.lang.String description)Adds an attachment to the message.TaddAttachment(java.io.File file)Adds an attachment to the message.TaddAttachment(java.io.File file, java.lang.String description)Adds an attachment to the message.TaddAttachment(java.io.InputStream stream, java.lang.String fileName)Adds an attachment to the message.TaddAttachment(java.io.InputStream stream, java.lang.String fileName, java.lang.String description)Adds an attachment to the message.TaddAttachment(java.net.URL url)Adds an attachment to the message.TaddAttachment(java.net.URL url, java.lang.String description)Adds an attachment to the message.TaddAttachment(Icon icon)Adds an attachment to the message.TaddAttachment(Icon icon, java.lang.String description)Adds an attachment to the message.TaddAttachmentAsSpoiler(byte[] bytes, java.lang.String fileName)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(byte[] bytes, java.lang.String fileName, java.lang.String description)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.awt.image.BufferedImage image, java.lang.String fileName)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.awt.image.BufferedImage image, java.lang.String fileName, java.lang.String description)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.io.File file)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.io.File file, java.lang.String description)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.io.InputStream stream, java.lang.String fileName)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.io.InputStream stream, java.lang.String fileName, java.lang.String description)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.net.URL url)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(java.net.URL url, java.lang.String description)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(Icon icon)Adds an attachment to the message and marks it as spoiler.TaddAttachmentAsSpoiler(Icon icon, java.lang.String description)Adds an attachment to the message and marks it as spoiler.Tcopy(Message message)Copy a message's values into this build instance.Tcopy(InteractionBase interaction)Copy an interaction's message.-
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
-
copy
T copy(Message message)
Copy a message's values into this build instance.- Parameters:
message- The message to copy.- Returns:
- The current instance in order to chain call methods.
-
copy
T copy(InteractionBase interaction)
Copy an interaction's message.- Parameters:
interaction- The interaction to copy.- Returns:
- The current instance in order to chain call methods/
-
addAttachment
T addAttachment(java.awt.image.BufferedImage image, java.lang.String fileName)
Adds an attachment to the message.- Parameters:
image- The image to add as an attachment.fileName- The file name of the image.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.awt.image.BufferedImage image, java.lang.String fileName, java.lang.String description)
Adds an attachment to the message.- Parameters:
image- The image to add as an attachment.fileName- The file name of the image.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.io.File file)
Adds an attachment to the message.- Parameters:
file- The file to add as an attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.io.File file, java.lang.String description)
Adds an attachment to the message.- Parameters:
file- The file to add as an attachment.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(Icon icon)
Adds an attachment to the message.- Parameters:
icon- The icon to add as an attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(Icon icon, java.lang.String description)
Adds an attachment to the message.- Parameters:
icon- The icon to add as an attachment.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.net.URL url)
Adds an attachment to the message.- Parameters:
url- The url of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.net.URL url, java.lang.String description)
Adds an attachment to the message.- Parameters:
url- The url of the attachment.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(byte[] bytes, java.lang.String fileName)
Adds an attachment to the message.- Parameters:
bytes- The bytes of the file.fileName- The name of the file.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(byte[] bytes, java.lang.String fileName, java.lang.String description)
Adds an attachment to the message.- Parameters:
bytes- The bytes of the file.fileName- The name of the file.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.io.InputStream stream, java.lang.String fileName)
Adds an attachment to the message.- Parameters:
stream- The stream of the file.fileName- The name of the file.- Returns:
- The current instance in order to chain call methods.
-
addAttachment
T addAttachment(java.io.InputStream stream, java.lang.String fileName, java.lang.String description)
Adds an attachment to the message.- Parameters:
stream- The stream of the file.fileName- The name of the file.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.awt.image.BufferedImage image, java.lang.String fileName)
Adds an attachment to the message and marks it as spoiler.- Parameters:
image- The image to add as an attachment.fileName- The file name of the image.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.awt.image.BufferedImage image, java.lang.String fileName, java.lang.String description)
Adds an attachment to the message and marks it as spoiler.- Parameters:
image- The image to add as an attachment.fileName- The file name of the image.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.io.File file)
Adds an attachment to the message and marks it as spoiler.- Parameters:
file- The file to add as an attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.io.File file, java.lang.String description)
Adds an attachment to the message and marks it as spoiler.- Parameters:
file- The file to add as an attachment.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(Icon icon)
Adds an attachment to the message and marks it as spoiler.- Parameters:
icon- The icon to add as an attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(Icon icon, java.lang.String description)
Adds an attachment to the message and marks it as spoiler.- Parameters:
icon- The icon to add as an attachment.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.net.URL url)
Adds an attachment to the message and marks it as spoiler.- Parameters:
url- The url of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.net.URL url, java.lang.String description)
Adds an attachment to the message and marks it as spoiler.- Parameters:
url- The url of the attachment.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(byte[] bytes, java.lang.String fileName)
Adds an attachment to the message and marks it as spoiler.- Parameters:
bytes- The bytes of the file.fileName- The name of the file.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(byte[] bytes, java.lang.String fileName, java.lang.String description)
Adds an attachment to the message and marks it as spoiler.- Parameters:
bytes- The bytes of the file.fileName- The name of the file.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.io.InputStream stream, java.lang.String fileName)
Adds an attachment to the message and marks it as spoiler.- Parameters:
stream- The stream of the file.fileName- The name of the file.- Returns:
- The current instance in order to chain call methods.
-
addAttachmentAsSpoiler
T addAttachmentAsSpoiler(java.io.InputStream stream, java.lang.String fileName, java.lang.String description)
Adds an attachment to the message and marks it as spoiler.- Parameters:
stream- The stream of the file.fileName- The name of the file.description- The description of the attachment.- Returns:
- The current instance in order to chain call methods.
-
-