DiscordEmbed

constructor(title: Optional<String> = Optional.Missing(), type: Optional<EmbedType> = Optional.Missing(), description: Optional<String> = Optional.Missing(), url: Optional<String> = Optional.Missing(), timestamp: Optional<Instant> = Optional.Missing(), color: OptionalInt = OptionalInt.Missing, footer: Optional<DiscordEmbed.Footer> = Optional.Missing(), image: Optional<DiscordEmbed.Image> = Optional.Missing(), thumbnail: Optional<DiscordEmbed.Thumbnail> = Optional.Missing(), video: Optional<DiscordEmbed.Video> = Optional.Missing(), provider: Optional<DiscordEmbed.Provider> = Optional.Missing(), author: Optional<DiscordEmbed.Author> = Optional.Missing(), fields: Optional<List<DiscordEmbed.Field>> = Optional.Missing())(source)

Parameters

title

The title of the embed.

type

The type of the embed (always EmbedType.Rich for webhook embeds).

description

The description of the embed.

url

The url of the embed.

timestamp

The timestamp of the embed content.

color

The color code of the embed.

footer

The footer information.

image

The image information.

thumbnail

The thumbnail information.

video

The video information.

provider

The provider information.

author

The author information.

fields

The fields information.