Table of Contents

Class EmbedImageProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll

Contains information used for the rendering and display of images in embeds.

public class EmbedImageProperties
Inheritance
EmbedImageProperties
Inherited Members

Constructors

EmbedImageProperties(string?)

Contains information used for the rendering and display of images in embeds.

public EmbedImageProperties(string? url)

Parameters

url string
The URL of the image displayed in the embed.

Properties

Url

The URL of the image displayed in the embed.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string

Methods

WithUrl(string?)

The URL of the image displayed in the embed.

public EmbedImageProperties WithUrl(string? url)

Parameters

url string

Returns

EmbedImageProperties

Operators

implicit operator EmbedImageProperties(string?)

public static implicit operator EmbedImageProperties(string? url)

Parameters

url string

Returns

EmbedImageProperties