Nostrum.Struct.Embed.Thumbnail (nostrum v0.11.0-dev)

View Source

Struct representing a Discord embed thumbnail.

Summary

Types

Height of the thumbnail

URL of thumbnail icon

t()

Source URL of the thumbnail

Width of the thumbnail

Types

height()

@type height() :: integer() | nil

Height of the thumbnail

proxy_url()

@type proxy_url() :: String.t() | nil

URL of thumbnail icon

t()

@type t() :: %Nostrum.Struct.Embed.Thumbnail{
  height: height(),
  proxy_url: proxy_url(),
  url: url(),
  width: width()
}

url()

@type url() :: String.t() | nil

Source URL of the thumbnail

width()

@type width() :: integer() | nil

Width of the thumbnail