Image

data class Image(val url: Optional<String> = Optional.Missing(), val proxyUrl: Optional<String> = Optional.Missing(), val height: OptionalInt = OptionalInt.Missing, val width: OptionalInt = OptionalInt.Missing)(source)

A representation of a Discord Embed Image structure.

Parameters

url

The source url of the image (only supports http(s) and attachments).

proxyUrl

A proxied url of the image.

height

The height of the image.

width

The width of the image.

Constructors

Link copied to clipboard
constructor(url: Optional<String> = Optional.Missing(), proxyUrl: Optional<String> = Optional.Missing(), height: OptionalInt = OptionalInt.Missing, width: OptionalInt = OptionalInt.Missing)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "proxy_url")
val proxyUrl: Optional<String>
Link copied to clipboard
Link copied to clipboard