Search Results for

    Show / Hide Table of Contents

    Interface IDiscordEmbedImage

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

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

    Properties

    | Improve this Doc View Source

    Height

    Height of image.

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

    ProxyUrl

    A proxied url of the image.

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

    Url

    Source url of image (only supports http(s) and attachments).

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

    Width

    Width of image.

    Declaration
    int? Width { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>

    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
    DiscordEmbedImageData ToDataModel()
    Returns
    Type Description
    DiscordEmbedImageData

    The converted DiscordEmbedImageData.

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