Table of Contents

Interface IEmbed

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a Discord embed object.

public interface IEmbed
Extension Methods

Properties

Author

Gets the author field of this embed.

EmbedAuthor? Author { get; }

Property Value

EmbedAuthor?

The author field of the embed, or null if none is set.

Color

Gets the color of this embed.

Color? Color { get; }

Property Value

Color?

The color of the embed present on the side of the embed, or null if none is set.

Description

Gets the description of this embed.

string Description { get; }

Property Value

string

The description field of the embed.

Fields

Gets the fields of the embed.

ImmutableArray<EmbedField> Fields { get; }

Property Value

ImmutableArray<EmbedField>

An array of the fields of the embed.

Gets the footer field of this embed.

EmbedFooter? Footer { get; }

Property Value

EmbedFooter?

The author field of the embed, or null if none is set.

Image

Gets the image of this embed.

EmbedImage? Image { get; }

Property Value

EmbedImage?

The image of the embed, or null if none is set.

Provider

Gets the provider of this embed.

EmbedProvider? Provider { get; }

Property Value

EmbedProvider?

The source of the embed, or null if none is set.

Thumbnail

Gets the thumbnail featured in this embed.

EmbedThumbnail? Thumbnail { get; }

Property Value

EmbedThumbnail?

The thumbnail featured in the embed, or null if none is set.

Timestamp

Gets the timestamp of this embed.

DateTimeOffset? Timestamp { get; }

Property Value

DateTimeOffset?

A DateTimeOffset based on the timestamp present at the bottom left of the embed, or null if none is set.

Title

Gets the title of this embed.

string Title { get; }

Property Value

string

The title of the embed.

Type

Gets the type of this embed.

EmbedType Type { get; }

Property Value

EmbedType

The type of the embed.

Url

Gets the title URL of this embed.

string Url { get; }

Property Value

string

A string containing the URL set in a title of the embed.

Video

Gets the video of this embed.

EmbedVideo? Video { get; }

Property Value

EmbedVideo?

The video of the embed, or null if none is set.