public static class MessageEmbed.Thumbnail
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected java.lang.String |
proxyUrl |
protected java.lang.String |
url |
protected int |
width |
Constructor and Description |
---|
Thumbnail(java.lang.String url,
java.lang.String proxyUrl,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
The height of the thumbnail image.
|
java.lang.String |
getProxyUrl()
The Discord proxied url of the thumbnail image.
This url will always work, even if the original image was deleted from the hosting website. |
java.lang.String |
getUrl()
The web url of this thumbnail image.
|
int |
getWidth()
The width of the thumbnail image.
|
protected final java.lang.String url
protected final java.lang.String proxyUrl
protected final int width
protected final int height
public Thumbnail(java.lang.String url, java.lang.String proxyUrl, int width, int height)
public java.lang.String getUrl()
public java.lang.String getProxyUrl()
public int getWidth()
public int getHeight()