Represents an embed object, typically used in rich media messages. An embed is a message containing rich media, such as images, links, and videos.

Constructors

  • Constructs a new Embed object.

    Parameters

    • client: Client

      The client instance managing this embed.

    • data: any

      The raw data from the API representing the embed.

    Returns Embed

Properties

author?: EmbedAuthor
color?: number
description?: string
fields?: EmbedField[]
footer?: EmbedFooter
image?: EmbedImage
provider?: EmbedProvider
thumbnail?: EmbedThumbnail
timestamp?: string
title?: string
type?: string
url?: string
video?: EmbedVideo