Package discord4j.core.object
Class Embed.Video
java.lang.Object
discord4j.core.object.Embed.Video
- Enclosing class:
- Embed
A video for a Discord
embed
.-
Method Summary
Modifier and TypeMethodDescriptiondiscord4j.discordjson.json.EmbedVideoData
getData()
Gets the data of the video.getEmbed()
Gets theEmbed
associated to this object.int
Gets the height of the video.Gets a proxied URL of the video.getUrl()
Gets the source URL of the video.int
getWidth()
Gets the width of the video.
-
Method Details
-
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
Gets the source URL of the video.- Returns:
- The source URL of the video.
-
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.
-