Thumbnail

data class Thumbnail(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 Thumbnail structure.

Parameters

url

The source url of a thumbnail (only supports http(s) and attachments).

proxyUrl

A proxied url of the thumbnail.

height

The height of the thumbnail.

width

The height of the thumbnail.

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