Class Embed.Thumbnail

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

public final class Embed.Thumbnail extends Object
A thumbnail 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.EmbedThumbnailData getData()
      Gets the data of the thumbnail.
      Returns:
      The data of the thumbnail.
    • getUrl

      public String getUrl()
      Gets the source URL of the thumbnail (only supports http(s) and attachments).
      Returns:
      The source URL of the thumbnail (only supports http(s) and attachments).
    • getProxyUrl

      public String getProxyUrl()
      Gets a proxied URL of the thumbnail.
      Returns:
      A proxied URL of the thumbnail.
    • getHeight

      public int getHeight()
      Gets the height of the thumbnail.
      Returns:
      The height of the thumbnail.
    • getWidth

      public int getWidth()
      Gets the width of the thumbnail.
      Returns:
      The width of the thumbnail.