Interface APIEmbed

interface APIEmbed {
    author?: {
        icon_url?: string;
        name: string;
        proxy_icon_url?: string;
        url?: string;
    };
    color?: number;
    description?: string;
    fields?: {
        inline?: boolean;
        name: string;
        value: string;
    }[];
    footer?: {
        icon_url?: string;
        proxy_icon_url?: string;
        text: string;
    };
    image?: {
        height: number;
        proxy_url?: string;
        url: string;
        width: number;
    };
    provider?: {
        name?: string;
        url?: string;
    };
    thumbnail?: {
        height: number;
        proxy_url?: string;
        url: string;
        width: number;
    };
    timestamp?: string;
    title?: string;
    type?: MessageEmbedTypes;
    url?: string;
    video?: {
        height: number;
        proxy_url?: string;
        url?: string;
        width: number;
    };
}

Properties

author?: {
    icon_url?: string;
    name: string;
    proxy_icon_url?: string;
    url?: string;
}
color?: number
description?: string
fields?: {
    inline?: boolean;
    name: string;
    value: string;
}[]
footer?: {
    icon_url?: string;
    proxy_icon_url?: string;
    text: string;
}
image?: {
    height: number;
    proxy_url?: string;
    url: string;
    width: number;
}
provider?: {
    name?: string;
    url?: string;
}
thumbnail?: {
    height: number;
    proxy_url?: string;
    url: string;
    width: number;
}
timestamp?: string
title?: string
url?: string
video?: {
    height: number;
    proxy_url?: string;
    url?: string;
    width: number;
}