Interface

RESTPostAPIEmbed

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

Properties

NameTypeDescription
author?RESTPostAPIEmbedAuthor | nullAuthor block.
color?number | nullAccent color as a 24-bit integer (0xRRGGBB).
descriptionstring | nullBody description (markdown).
fields?APIEmbedField[] | nullField rows.
image?RESTPostAPIEmbedMedia | nullLarge image.
thumbnail?RESTPostAPIEmbedMedia | nullSmall thumbnail.
timestamp?string | nullISO-8601 timestamp shown in the embed.
title?string | nullTitle text.
url?string | nullCanonical URL associated with the embed.