Search Results for

    Show / Hide Table of Contents

    Class DiscordEmbedData

    Represents a discord Embed Object API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object

    Inheritance
    Object
    DiscordEmbedData
    Implements
    IEquatable<DiscordEmbedData>
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Embed
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordEmbedData : IEquatable<DiscordEmbedData>

    Properties

    | Improve this Doc View Source

    Author

    Author information.

    Declaration
    [JsonPropertyName("author")]
    public DiscordEmbedAuthorData Author { get; set; }
    Property Value
    Type Description
    DiscordEmbedAuthorData
    | Improve this Doc View Source

    Color

    Color of the embed.

    Declaration
    [JsonPropertyName("color")]
    public Color? Color { get; set; }
    Property Value
    Type Description
    System.Nullable<Color>
    | Improve this Doc View Source

    Description

    Description of embed.

    Declaration
    [JsonPropertyName("description")]
    public string Description { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Fields

    Fields information.

    Declaration
    [JsonPropertyName("fields")]
    public IEnumerable<DiscordEmbedFieldData> Fields { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordEmbedFieldData>
    | Improve this Doc View Source

    Footer

    Footer information.

    Declaration
    [JsonPropertyName("footer")]
    public DiscordEmbedFooterData Footer { get; set; }
    Property Value
    Type Description
    DiscordEmbedFooterData
    | Improve this Doc View Source

    Image

    Image information.

    Declaration
    [JsonPropertyName("image")]
    public DiscordEmbedImageData Image { get; set; }
    Property Value
    Type Description
    DiscordEmbedImageData
    | Improve this Doc View Source

    Provider

    Provider information.

    Declaration
    [JsonPropertyName("provider")]
    public DiscordEmbedProviderData Provider { get; set; }
    Property Value
    Type Description
    DiscordEmbedProviderData
    | Improve this Doc View Source

    Thumbnail

    Thumbnail information.

    Declaration
    [JsonPropertyName("thumbnail")]
    public DiscordEmbedThumbnailData Thumbnail { get; set; }
    Property Value
    Type Description
    DiscordEmbedThumbnailData
    | Improve this Doc View Source

    Timestamp

    Timestamp of embed content.

    Declaration
    [JsonPropertyName("timestamp")]
    public DateTimeOffset? Timestamp { get; set; }
    Property Value
    Type Description
    System.Nullable<DateTimeOffset>
    | Improve this Doc View Source

    Title

    Title of embed.

    Declaration
    [JsonPropertyName("title")]
    public string Title { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Type

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

    Declaration
    [JsonPropertyName("type")]
    public DiscordEmbedType? Type { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordEmbedType>
    | Improve this Doc View Source

    Url

    Url of embed.

    Declaration
    [JsonPropertyName("url")]
    public string Url { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Video

    Video information.

    Declaration
    [JsonPropertyName("video")]
    public DiscordEmbedVideoData Video { get; set; }
    Property Value
    Type Description
    DiscordEmbedVideoData

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX