Skip to main content

Struct EmbedVideo

A video featured in an Discord.Embed.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public struct EmbedVideo

Properties​

Url​

Gets the URL of the video.

View Source​
Declaration
public readonly string Url { get; }

Height​

Gets the height of the video.

View Source​
Declaration
public readonly int? Height { get; }

Width​

Gets the weight of the video.

View Source​
Declaration
public readonly int? Width { get; }

Methods​

ToString()​

Gets the URL of the video.

View Source​
Declaration
public override string ToString()
Returns​

System.String: A string that resolves to Discord.EmbedVideo.Url.