Interface

RESTPostAPIEmbed

Embed payload for message/webhook create endpoints. Omits response-only fields (`video`, `audio`, `children`, `type`, …).

Properties

author?: RESTPostAPIEmbedAuthor | null

Author block.

color?: number | null

Accent color as a 24-bit integer (0xRRGGBB).

description?: string | null

Body description (markdown).

fields?: APIEmbedField[] | null

Field rows.

image?: RESTPostAPIEmbedMedia | null

Large image.

thumbnail?: RESTPostAPIEmbedMedia | null

Small thumbnail.

timestamp?: string | null

ISO-8601 timestamp shown in the embed.

title?: string | null

Title text.

url?: string | null

Canonical URL associated with the embed.