Class EmbedImpl.ImageImpl
java.lang.Object
com.mewna.catnip.entity.impl.message.EmbedImpl.ImageImpl
- All Implemented Interfaces:
Embed.Image
- Enclosing class:
- EmbedImpl
-
Constructor Details
-
ImageImpl
public ImageImpl() -
ImageImpl
-
-
Method Details
-
builder
-
url
Description copied from interface:Embed.Image
URL of the image.- Specified by:
url
in interfaceEmbed.Image
- Returns:
- Image's URL. Never null.
-
proxyUrl
Description copied from interface:Embed.Image
Proxy URL of the image.- Specified by:
proxyUrl
in interfaceEmbed.Image
- Returns:
- Image's proxy URL, or null if absent.
-
height
public int height()Description copied from interface:Embed.Image
Height of the image.- Specified by:
height
in interfaceEmbed.Image
- Returns:
- Image's height, or -1 if absent.
-
width
public int width()Description copied from interface:Embed.Image
Width of the image.- Specified by:
width
in interfaceEmbed.Image
- Returns:
- Image's width, or -1 if absent.
-
url
- Returns:
this
.
-
proxyUrl
- Returns:
this
.
-
height
- Returns:
this
.
-
width
- Returns:
this
.
-