Table of Contents

Class EmbedThumbnailProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll

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

public class EmbedThumbnailProperties
Inheritance
EmbedThumbnailProperties
Inherited Members

Constructors

EmbedThumbnailProperties(string?)

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

public EmbedThumbnailProperties(string? url)

Parameters

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

Properties

Url

The URL of the image displayed as the thumbnail 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 as the thumbnail in the embed.

public EmbedThumbnailProperties WithUrl(string? url)

Parameters

url string

Returns

EmbedThumbnailProperties

Operators

implicit operator EmbedThumbnailProperties(string?)

public static implicit operator EmbedThumbnailProperties(string? url)

Parameters

url string

Returns

EmbedThumbnailProperties