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