Author

data class Author(val name: Optional<String> = Optional.Missing(), val url: Optional<String?> = Optional.Missing(), val iconUrl: Optional<String> = Optional.Missing(), val proxyIconUrl: Optional<String> = Optional.Missing())(source)

A representation of a Discord Embed Author structure.

Parameters

name

the Name of the author.

url

The url of the author.

iconUrl

The url of the author icon (only supports http(s) and attachments).

proxyIconUrl

A proxied url of the author icon.

Constructors

Link copied to clipboard
constructor(name: Optional<String> = Optional.Missing(), url: Optional<String?> = Optional.Missing(), iconUrl: Optional<String> = Optional.Missing(), proxyIconUrl: Optional<String> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "icon_url")
val iconUrl: Optional<String>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "proxy_icon_url")
val proxyIconUrl: Optional<String>
Link copied to clipboard