interface APIEmbed {
    author?: APIEmbedAuthor;
    color?: number;
    description?: string;
    fields?: APIEmbedField[];
    footer?: APIEmbedFooter;
    image?: APIEmbedImage;
    provider?: APIEmbedProvider;
    thumbnail?: APIEmbedThumbnail;
    timestamp?: string;
    title?: string;
    type?: EmbedType;
    url?: string;
    video?: APIEmbedVideo;
}

Properties

Author information

color?: number

Color code of the embed

description?: string

Description of embed

Length limit: 4096 characters

fields?: APIEmbedField[]

Fields information

Length limit: 25 field objects

Footer information

Image information

provider?: APIEmbedProvider

Provider information

thumbnail?: APIEmbedThumbnail

Thumbnail information

timestamp?: string

Timestamp of embed content

title?: string

Title of embed

Length limit: 256 characters

type?: EmbedType

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

url?: string

URL of embed

Video information