Package com.mewna.catnip.entity.message
Interface Embed.Image
- All Known Implementing Classes:
EmbedImpl.ImageImpl
- Enclosing interface:
- Embed
public static interface Embed.Image
-
Method Summary
-
Method Details
-
url
URL of the image.- Returns:
- Image's URL. Never null.
-
proxyUrl
Proxy URL of the image.- Returns:
- Image's proxy URL, or null if absent.
-
height
@CheckReturnValue int height()Height of the image.- Returns:
- Image's height, or -1 if absent.
-
width
@CheckReturnValue int width()Width of the image.- Returns:
- Image's width, or -1 if absent.
-