29 lines
585 B
C#
29 lines
585 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Embeds
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Discord API Embed Video structure
|
|||
|
/// </summary>
|
|||
|
internal struct EmbedVideo
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// source url of video
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("url")]
|
|||
|
public string Url;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// height of video
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("height")]
|
|||
|
public int Height;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// width of video
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("width")]
|
|||
|
public int Width;
|
|||
|
}
|
|||
|
}
|