Class DiscordEmbedVideoData
Represents a discord Embed Video Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure
Inheritance
System.Object
DiscordEmbedVideoData
Implements
System.IEquatable<DiscordEmbedVideoData>
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 DiscordEmbedVideoData : IEquatable<DiscordEmbedVideoData>
Properties
| Improve this Doc View SourceHeight
Height of video.
Declaration
[JsonPropertyName("height")]
public int? Height { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ProxyUrl
A proxied url of the video.
Declaration
[JsonPropertyName("proxy_url")]
public string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
Source url of video.
Declaration
[JsonPropertyName("url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Width
Width of video.
Declaration
[JsonPropertyName("width")]
public int? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Implements
System.IEquatable<T>