Skip to main content
Module

x/discord_api_types/payloads/v8/mod.ts>APIEmbed

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIEmbed
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type APIEmbed } from "https://deno.land/x/discord_api_types@0.37.11/payloads/v8/mod.ts";

Properties

optional
title: string

Title of embed

Length limit: 256 characters

optional
deprecated
type: EmbedType

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

optional
description: string

Description of embed

Length limit: 4096 characters

optional
url: string

URL of embed

optional
timestamp: string

Timestamp of embed content

optional
color: number

Color code of the embed

optional
fields: APIEmbedField[]