Package discord4j.core.object
Class Embed.Video
- java.lang.Object
-
- discord4j.core.object.Embed.Video
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description discord4j.discordjson.json.EmbedVideoData
getData()
Gets the data of the video.Embed
getEmbed()
Gets theEmbed
associated to this object.int
getHeight()
Gets the height of the video.String
getProxyUrl()
Gets a proxied URL of the video.String
getUrl()
Gets the source URL of the video.int
getWidth()
Gets the width of the video.
-
-
-
Method Detail
-
getEmbed
public Embed getEmbed()
Gets theEmbed
associated to this object.- Returns:
- The
Embed
associated to this object.
-
getData
public discord4j.discordjson.json.EmbedVideoData getData()
Gets the data of the video.- Returns:
- The data of the video.
-
getUrl
@Nullable public String getUrl()
Gets the source URL of the video.- Returns:
- The source URL of the video.
-
getProxyUrl
@Nullable public String getProxyUrl()
Gets a proxied URL of the video.- Returns:
- A proxied URL of the video.
-
getHeight
public int getHeight()
Gets the height of the video.- Returns:
- The height of the video.
-
getWidth
public int getWidth()
Gets the width of the video.- Returns:
- The width of the video.
-
-