Preview environment

interface APIEmbed

export interface APIEmbed

https://discord.com/developers/docs/resources/channel#embed-object-embed-structureLength limit: 6000 characters

optional
author? : APIEmbedAuthor

Author informationSee https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure

optional
color? : number

Color code of the embed

optional
description? : string

Description of embedLength limit: 4096 characters

optional
fields? : APIEmbedField[]

Fields informationLength limit: 25 field objectsSee https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure

Footer informationSee https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure

optional
image? : APIEmbedImage

Image informationSee https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure

optional
provider? : APIEmbedProvider

Provider informationSee https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure

optional
thumbnail? : APIEmbedThumbnail

Thumbnail informationSee https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure

optional
timestamp? : string

Timestamp of embed content

optional
title? : string

Title of embedLength limit: 256 characters

deprecatedoptional
type? : EmbedType

Type of embed (always "rich" for webhook embeds)

optional
url? : string

URL of embed

optional
video? : APIEmbedVideo

Video informationSee https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure