Class EmbedImageProperties
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
urlstringThe 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
Methods
WithUrl(string?)
The URL of the image displayed in the embed.
public EmbedImageProperties WithUrl(string? url)
Parameters
urlstring
Returns
Operators
implicit operator EmbedImageProperties(string?)
public static implicit operator EmbedImageProperties(string? url)
Parameters
urlstring