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