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