Class Embed.Video

  • Enclosing class:
    Embed

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

      • 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

        @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.