Interface IEmbed
Represents a Discord embed object.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IEmbed
Properties
| Improve this Doc View SourceAuthor
Gets the author field of this embed.
Declaration
EmbedAuthor? Author { get; }
Property Value
Type | Description |
---|---|
Nullable<EmbedAuthor> | The author field of the embed, or null if none is set. |
Color
Gets the color of this embed.
Declaration
Color? Color { get; }
Property Value
Type | Description |
---|---|
Nullable<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.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
String | The description field of the embed. |
Fields
Gets the fields of the embed.
Declaration
ImmutableArray<EmbedField> Fields { get; }
Property Value
Type | Description |
---|---|
ImmutableArray<EmbedField> | An array of the fields of the embed. |
Footer
Gets the footer field of this embed.
Declaration
EmbedFooter? Footer { get; }
Property Value
Type | Description |
---|---|
Nullable<EmbedFooter> | The author field of the embed, or null if none is set. |
Image
Gets the image of this embed.
Declaration
EmbedImage? Image { get; }
Property Value
Type | Description |
---|---|
Nullable<EmbedImage> | The image of the embed, or null if none is set. |
Provider
Gets the provider of this embed.
Declaration
EmbedProvider? Provider { get; }
Property Value
Type | Description |
---|---|
Nullable<EmbedProvider> | The source of the embed, or null if none is set. |
Thumbnail
Gets the thumbnail featured in this embed.
Declaration
EmbedThumbnail? Thumbnail { get; }
Property Value
Type | Description |
---|---|
Nullable<EmbedThumbnail> | The thumbnail featured in the embed, or null if none is set. |
Timestamp
Gets the timestamp of this embed.
Declaration
DateTimeOffset? Timestamp { get; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> | A |
Title
Gets the title of this embed.
Declaration
string Title { get; }
Property Value
Type | Description |
---|---|
String | The title of the embed. |
Type
Gets the type of this embed.
Declaration
EmbedType Type { get; }
Property Value
Type | Description |
---|---|
EmbedType | The type of the embed. |
Url
Gets the title URL of this embed.
Declaration
string Url { get; }
Property Value
Type | Description |
---|---|
String | A string containing the URL set in a title of the embed. |
Video
Gets the video of this embed.
Declaration
EmbedVideo? Video { get; }
Property Value
Type | Description |
---|---|
Nullable<EmbedVideo> | The video of the embed, or null if none is set. |