Package org.javacord.api.entity.message
Interface MessageAttachment
-
- All Superinterfaces:
Attachment,DiscordEntity
public interface MessageAttachment extends Attachment
This class represents a message attachment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagegetMessage()Gets the message of the attachment.-
Methods inherited from interface org.javacord.api.entity.Attachment
asByteArray, asImage, asInputStream, getDescription, getFileName, getHeight, getProxyUrl, getSize, getUrl, getWidth, isEphemeral, isImage, isSpoiler
-
Methods inherited from interface org.javacord.api.entity.DiscordEntity
getApi, getCreationTimestamp, getId, getIdAsString
-
-
-
-
Method Detail
-
getMessage
Message getMessage()
Gets the message of the attachment.- Returns:
- The message of the attachment.
-
-