Uses of Interface
org.javacord.api.entity.Attachment
-
Packages that use Attachment Package Description org.javacord.api.entity.message org.javacord.api.entity.message.internal org.javacord.api.interaction -
-
Uses of Attachment in org.javacord.api.entity.message
Subinterfaces of Attachment in org.javacord.api.entity.message Modifier and Type Interface Description interfaceMessageAttachmentThis class represents a message attachment.Methods in org.javacord.api.entity.message with parameters of type Attachment Modifier and Type Method Description MessageUpdaterMessageUpdater. removeExistingAttachment(Attachment attachment)Removes an attachment from the message.MessageUpdaterMessageUpdater. removeExistingAttachments(Attachment... attachments)Removes multiple attachments from the message.Method parameters in org.javacord.api.entity.message with type arguments of type Attachment Modifier and Type Method Description MessageUpdaterMessageUpdater. removeExistingAttachments(java.util.Collection<Attachment> attachments)Removes multiple attachments from the message. -
Uses of Attachment in org.javacord.api.entity.message.internal
Methods in org.javacord.api.entity.message.internal with parameters of type Attachment Modifier and Type Method Description voidMessageBuilderBaseDelegate. removeExistingAttachment(Attachment attachment)Removes an attachment from the message.Method parameters in org.javacord.api.entity.message.internal with type arguments of type Attachment Modifier and Type Method Description voidMessageBuilderBaseDelegate. removeExistingAttachments(java.util.Collection<Attachment> attachments)Removes multiple attachments from the message. -
Uses of Attachment in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return types with arguments of type Attachment Modifier and Type Method Description default java.util.Optional<Attachment>SlashCommandInteractionOptionsProvider. getArgumentAttachmentValueByIndex(int index)Gets the attachment value of an argument at the specified index.default java.util.Optional<Attachment>SlashCommandInteractionOptionsProvider. getArgumentAttachmentValueByName(java.lang.String name)Gets the attachment value of an argument having the specified name.java.util.Optional<Attachment>SlashCommandInteractionOption. getAttachmentValue()Gets the attachment value of this option.
-