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

View Source

Struct representing a Discord embed image.

Summary

Types

Height of the image

URL of image icon

t()

Image text

Width of the image

Types

height()

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

Height of the image

proxy_url()

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

URL of image icon

t()

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

url()

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

Image text

width()

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

Width of the image