public static class MessageEmbed.ImageInfo
extends java.lang.Object
Constructor | Description |
---|---|
ImageInfo(java.lang.String url,
java.lang.String proxyUrl,
int width,
int height) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
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()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object