Class EmbedThumbnail
- Namespace
- NetCord
- Assembly
- NetCord.dll
Contains information used for the rendering and display of thumbnails in embeds.
public class EmbedThumbnail : IJsonModel<JsonEmbedThumbnail>
- Inheritance
-
EmbedThumbnail
- Implements
- Inherited Members
Constructors
EmbedThumbnail(JsonEmbedThumbnail)
Contains information used for the rendering and display of thumbnails in embeds.
public EmbedThumbnail(JsonEmbedThumbnail jsonModel)
Parameters
jsonModel
JsonEmbedThumbnail
Properties
Height
The height of the image in pixels.
public int? Height { get; }
Property Value
- int?
ProxyUrl
The URL of the image displayed as the thumbnail in the embed, proxied by the Discord CDN server.
public string? ProxyUrl { get; }
Property Value
Url
The URL of the image displayed as the thumbnail in the embed.
public string? Url { get; }
Property Value
Width
The width of the image in pixels.
public int? Width { get; }
Property Value
- int?