Class DiscordEmbedThumbnailData
Represents a discord Embed Thumbnail Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure
Inheritance
System.Object
DiscordEmbedThumbnailData
Implements
System.IEquatable<DiscordEmbedThumbnailData>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Embed
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordEmbedThumbnailData : IEquatable<DiscordEmbedThumbnailData>
Properties
| Improve this Doc View SourceHeight
Height of image.
Declaration
[JsonPropertyName("height")]
public int? Height { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ProxyUrl
A proxied url of the image.
Declaration
[JsonPropertyName("proxy_url")]
public string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
Source url of thumbnail (only supports http(s) and attachments).
Declaration
[JsonPropertyName("url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Width
Width of image.
Declaration
[JsonPropertyName("width")]
public int? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Implements
System.IEquatable<T>