Interface IDiscordEmbedVideo
Represents a discord Embed Video Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Embed
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordEmbedVideo
Properties
| Improve this Doc View SourceHeight
Height of video.
Declaration
int? Height { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
ProxyUrl
A proxied url of the video.
Declaration
string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
String |
Url
Source url of video.
Declaration
string Url { get; set; }
Property Value
Type | Description |
---|---|
String |
Width
Width of video.
Declaration
int? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
Methods
| Improve this Doc View SourceToDataModel()
Converts the model back to a discord data model so that it can be send to discord.
Declaration
DiscordEmbedVideoData ToDataModel()
Returns
Type | Description |
---|---|
DiscordEmbedVideoData | The converted DiscordEmbedVideoData. |