Package discord4j.core.object
Class Embed.Thumbnail
- java.lang.Object
-
- discord4j.core.object.Embed.Thumbnail
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description discord4j.discordjson.json.EmbedThumbnailData
getData()
Gets the data of the thumbnail.Embed
getEmbed()
Gets theEmbed
associated to this object.int
getHeight()
Gets the height of the thumbnail.String
getProxyUrl()
Gets a proxied URL of the thumbnail.String
getUrl()
Gets the source URL of the thumbnail (only supports http(s) and attachments).int
getWidth()
Gets the width of the thumbnail.
-
-
-
Method Detail
-
getEmbed
public Embed getEmbed()
Gets theEmbed
associated to this object.- Returns:
- The
Embed
associated to this object.
-
getData
public discord4j.discordjson.json.EmbedThumbnailData getData()
Gets the data of the thumbnail.- Returns:
- The data of the thumbnail.
-
getUrl
public String getUrl()
Gets the source URL of the thumbnail (only supports http(s) and attachments).- Returns:
- The source URL of the thumbnail (only supports http(s) and attachments).
-
getProxyUrl
public String getProxyUrl()
Gets a proxied URL of the thumbnail.- Returns:
- A proxied URL of the thumbnail.
-
getHeight
public int getHeight()
Gets the height of the thumbnail.- Returns:
- The height of the thumbnail.
-
getWidth
public int getWidth()
Gets the width of the thumbnail.- Returns:
- The width of the thumbnail.
-
-