Class Embed.Video

java.lang.Object
discord4j.core.object.Embed.Video
Enclosing class:
Embed

public final class Embed.Video extends Object
A video for a Discord embed.
  • Method Details

    • getEmbed

      public Embed getEmbed()
      Gets the Embed 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

      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.