Preview environment

interface APIEmbed

export interface APIEmbed

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

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 objects

See also: https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure

optional
timestamp? : string

Timestamp of embed content

optional
title? : string

Title of embedLength limit: 256 characters

optional
type? : EmbedType

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

optional
url? : string

URL of embed