Interface
RESTPostAPIEmbed
Embed payload for message/webhook create endpoints. Omits response-only fields (video, audio, children, type, …).
Properties
| Name | Type | Description |
|---|---|---|
| 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. |
| footer? | RESTPostAPIEmbedFooter | null | Footer block. |
| 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. |