Search Results for

    Show / Hide Table of Contents

    Interface IDiscordEmbed

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

    Namespace: Color_Chan.Discord.Core.Common.Models.Embed
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordEmbed

    Properties

    | Improve this Doc View Source

    Author

    Author information.

    Declaration
    IDiscordEmbedAuthor Author { get; set; }
    Property Value
    Type Description
    IDiscordEmbedAuthor
    | Improve this Doc View Source

    Color

    Color of the embed.

    Declaration
    Color? Color { get; set; }
    Property Value
    Type Description
    System.Nullable<Color>
    | Improve this Doc View Source

    Description

    Description of embed.

    Declaration
    string Description { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Fields

    Fields information.

    Declaration
    IEnumerable<IDiscordEmbedField> Fields { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordEmbedField>
    | Improve this Doc View Source

    Footer

    Footer information.

    Declaration
    IDiscordEmbedFooter Footer { get; set; }
    Property Value
    Type Description
    IDiscordEmbedFooter
    | Improve this Doc View Source

    Image

    Image information.

    Declaration
    IDiscordEmbedImage Image { get; set; }
    Property Value
    Type Description
    IDiscordEmbedImage
    | Improve this Doc View Source

    Provider

    Provider information.

    Declaration
    IDiscordEmbedProvider Provider { get; set; }
    Property Value
    Type Description
    IDiscordEmbedProvider
    | Improve this Doc View Source

    Thumbnail

    Thumbnail information.

    Declaration
    IDiscordEmbedThumbnail Thumbnail { get; set; }
    Property Value
    Type Description
    IDiscordEmbedThumbnail
    | Improve this Doc View Source

    Timestamp

    Timestamp of embed content.

    Declaration
    DateTimeOffset? Timestamp { get; set; }
    Property Value
    Type Description
    System.Nullable<DateTimeOffset>
    | Improve this Doc View Source

    Title

    Title of embed.

    Declaration
    string Title { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Type

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

    Declaration
    DiscordEmbedType? Type { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordEmbedType>
    | Improve this Doc View Source

    Url

    Url of embed.

    Declaration
    string Url { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Video

    Video information.

    Declaration
    IDiscordEmbedVideo Video { get; set; }
    Property Value
    Type Description
    IDiscordEmbedVideo

    Methods

    | Improve this Doc View Source

    ToDataModel()

    Converts the model back to a discord data model so that it can be send to discord.

    Declaration
    DiscordEmbedData ToDataModel()
    Returns
    Type Description
    DiscordEmbedData

    The converted DiscordEmbedData.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX