Search Results for

    Show / Hide Table of Contents

    Struct EmbedImage

    An image for an Embed.

    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public struct EmbedImage

    Properties

    | Improve this Doc View Source

    Height

    Gets the height of this image.

    Declaration
    public readonly int? Height { get; }
    Property Value
    Type Description
    Nullable<Int32>

    A representing the height of this image if it can be retrieved; otherwise null.

    | Improve this Doc View Source

    ProxyUrl

    Gets a proxied URL of this image.

    Declaration
    public readonly string ProxyUrl { get; }
    Property Value
    Type Description
    String

    A string containing the proxied URL of this image.

    | Improve this Doc View Source

    Url

    Gets the URL of the image.

    Declaration
    public readonly string Url { get; }
    Property Value
    Type Description
    String

    A string containing the URL of the image.

    | Improve this Doc View Source

    Width

    Gets the width of this image.

    Declaration
    public readonly int? Width { get; }
    Property Value
    Type Description
    Nullable<Int32>

    A representing the width of this image if it can be retrieved; otherwise null.

    Methods

    | Improve this Doc View Source

    ToString()

    Gets the URL of the thumbnail.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that resolves to Url .

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2