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 Deprecated Methods Modifier and Type Method Description TaddAttachment(byte[] bytes, java.lang.String fileName)Adds an attachment to the message.TaddAttachment(java.awt.image.BufferedImage image, java.lang.String fileName)Adds an attachment to the message.TaddAttachment(java.io.File file)Adds an attachment to the message.TaddAttachment(java.io.InputStream stream, java.lang.String fileName)Adds an attachment to the message.TaddAttachment(java.net.URL url)Adds an attachment to the message.TaddAttachment(Icon icon)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(java.awt.image.BufferedImage image, java.lang.String fileName)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.InputStream stream, java.lang.String fileName)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(Icon icon)Adds an attachment to the message and marks it as spoiler.TaddFile(byte[] bytes, java.lang.String fileName)Deprecated.UseaddAttachment(byte[], String)instead.TaddFile(java.awt.image.BufferedImage image, java.lang.String fileName)Deprecated.UseaddAttachment(BufferedImage, String)instead.TaddFile(java.io.File file)Deprecated.UseaddAttachment(File)instead.TaddFile(java.io.InputStream stream, java.lang.String fileName)Deprecated.UseaddAttachment(InputStream, String)instead.TaddFile(java.net.URL url)Deprecated.UseaddAttachment(URL)instead.TaddFile(Icon icon)Deprecated.UseaddAttachment(Icon)instead.TaddFileAsSpoiler(byte[] bytes, java.lang.String fileName)Deprecated.UseaddAttachment(byte[], String)instead.TaddFileAsSpoiler(java.awt.image.BufferedImage image, java.lang.String fileName)Deprecated.UseaddAttachment(BufferedImage, String)instead.TaddFileAsSpoiler(java.io.File file)Deprecated.UseaddAttachment(File)instead.TaddFileAsSpoiler(java.io.InputStream stream, java.lang.String fileName)Deprecated.UseaddAttachment(InputStream, String)instead.TaddFileAsSpoiler(java.net.URL url)Deprecated.UseaddAttachment(URL)instead.TaddFileAsSpoiler(Icon icon)Deprecated.UseaddAttachment(Icon)instead.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/
-
addFile
@Deprecated T addFile(java.awt.image.BufferedImage image, java.lang.String fileName)
Deprecated.UseaddAttachment(BufferedImage, String)instead.Adds a file 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.
- See Also:
addAttachment(BufferedImage, String)
-
addFile
@Deprecated T addFile(java.io.File file)
Deprecated.UseaddAttachment(File)instead.Adds a file to the message.- Parameters:
file- The file to add as an attachment.- Returns:
- The current instance in order to chain call methods.
- See Also:
addAttachment(File)
-
addFile
@Deprecated T addFile(Icon icon)
Deprecated.UseaddAttachment(Icon)instead.Adds a file to the message.- Parameters:
icon- The icon to add as an attachment.- Returns:
- The current instance in order to chain call methods.
- See Also:
addAttachment(Icon)
-
addFile
@Deprecated T addFile(java.net.URL url)
Deprecated.UseaddAttachment(URL)instead.Adds a file to the message and marks it as a spoiler.- Parameters:
url- The url of the attachment.- Returns:
- The current instance in order to chain call methods.
- See Also:
addAttachment(URL)
-
addFile
@Deprecated T addFile(byte[] bytes, java.lang.String fileName)
Deprecated.UseaddAttachment(byte[], String)instead.Adds a file 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.
- See Also:
addAttachment(byte[], String)
-
addFile
@Deprecated T addFile(java.io.InputStream stream, java.lang.String fileName)
Deprecated.UseaddAttachment(InputStream, String)instead.Adds a file 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.
- See Also:
addAttachment(InputStream, String)
-
addFileAsSpoiler
@Deprecated T addFileAsSpoiler(java.awt.image.BufferedImage image, java.lang.String fileName)
Deprecated.UseaddAttachment(BufferedImage, String)instead.Adds a file 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.
- See Also:
addAttachmentAsSpoiler(BufferedImage, String)
-
addFileAsSpoiler
@Deprecated T addFileAsSpoiler(java.io.File file)
Deprecated.UseaddAttachment(File)instead.Adds a file 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.
- See Also:
addAttachmentAsSpoiler(File)
-
addFileAsSpoiler
@Deprecated T addFileAsSpoiler(Icon icon)
Deprecated.UseaddAttachment(Icon)instead.Adds a file 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.
- See Also:
addAttachmentAsSpoiler(Icon)
-
addFileAsSpoiler
@Deprecated T addFileAsSpoiler(java.net.URL url)
Deprecated.UseaddAttachment(URL)instead.Adds a file to the message and marks it as a spoiler.- Parameters:
url- The url of the attachment.- Returns:
- The current instance in order to chain call methods.
- See Also:
addAttachment(URL)
-
addFileAsSpoiler
@Deprecated T addFileAsSpoiler(byte[] bytes, java.lang.String fileName)
Deprecated.UseaddAttachment(byte[], String)instead.Adds a file 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.
- See Also:
addAttachmentAsSpoiler(byte[], String)
-
addFileAsSpoiler
@Deprecated T addFileAsSpoiler(java.io.InputStream stream, java.lang.String fileName)
Deprecated.UseaddAttachment(InputStream, String)instead.Adds a file 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.
- See Also:
addAttachment(InputStream, String)
-
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.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(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(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(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(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.
-
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.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(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(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(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(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.
-
-