Class Embed
Represents an embed object seen in an Discord.IUserMessage.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class Embed : IEmbed
Properties​
Type​
Gets the type of this embed.
View Source​
Declaration
public EmbedType Type { get; }
Description​
Gets the description of this embed.
View Source​
Declaration
public string Description { get; }
Url​
Gets the title URL of this embed.
View Source​
Declaration
public string Url { get; }
Title​
Gets the title of this embed.
View Source​
Declaration
public string Title { get; }
Timestamp​
Gets the timestamp of this embed.
View Source​
Declaration
public DateTimeOffset? Timestamp { get; }
Color​
Gets the color of this embed.
View Source​
Declaration
public Color? Color { get; }
Image​
Gets the image of this embed.
View Source​
Declaration
public EmbedImage? Image { get; }
Video​
Gets the video of this embed.
View Source​
Declaration
public EmbedVideo? Video { get; }
Author​
Gets the author field of this embed.
View Source​
Declaration
public EmbedAuthor? Author { get; }
Footer​
Gets the footer field of this embed.
View Source​
Declaration
public EmbedFooter? Footer { get; }
Provider​
Gets the provider of this embed.
View Source​
Declaration
public EmbedProvider? Provider { get; }
Thumbnail​
Gets the thumbnail featured in this embed.
View Source​
Declaration
public EmbedThumbnail? Thumbnail { get; }
Fields​
Gets the fields of the embed.
View Source​
Declaration
public ImmutableArray<EmbedField> Fields { get; }
Length​
Gets the total length of all embed properties.
View Source​
Declaration
public int Length { get; }
Methods​
ToString()​
Gets the title of the embed.
View Source​
Declaration
public override string ToString()
Returns​
System.String