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.EmbedVideoDatagetData()Gets the data of the video.EmbedgetEmbed()Gets theEmbedassociated to this object.intgetHeight()Gets the height of the video.StringgetProxyUrl()Gets a proxied URL of the video.StringgetUrl()Gets the source URL of the video.intgetWidth()Gets the width of the video.
-
-
-
Method Detail
-
getEmbed
public Embed getEmbed()
Gets theEmbedassociated to this object.- Returns:
- The
Embedassociated to this object.
-
getData
public discord4j.discordjson.json.EmbedVideoData getData()
Gets the data of the video.- Returns:
- The data of the video.
-
getUrl
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.
-
-