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