public static class MessageEmbed.ImageInfo
extends java.lang.Object
Constructor and Description |
---|
ImageInfo(java.lang.String url,
java.lang.String proxyUrl,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
The height of the image.
|
java.lang.String |
getProxyUrl()
The url of the image, proxied by Discord
This url is used to access the image through Discord instead of directly to prevent ip scraping. |
java.lang.String |
getUrl()
The url of the image.
|
int |
getWidth()
The width of the image.
|
public ImageInfo(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()