Added video info to Message.Embed

This commit is contained in:
RogueException
2016-01-08 06:15:20 -04:00
parent f95a079788
commit fdcca462ab

View File

@@ -44,6 +44,15 @@ namespace Discord.API.Client
[JsonProperty("height")] [JsonProperty("height")]
public int Height { get; set; } public int Height { get; set; }
} }
public sealed class VideoInfo
{
[JsonProperty("url")]
public string Url { get; set; }
[JsonProperty("width")]
public int Width { get; set; }
[JsonProperty("height")]
public int Height { get; set; }
}
[JsonProperty("url")] [JsonProperty("url")]
public string Url { get; set; } public string Url { get; set; }
@@ -59,6 +68,8 @@ namespace Discord.API.Client
public Reference Provider { get; set; } public Reference Provider { get; set; }
[JsonProperty("thumbnail")] [JsonProperty("thumbnail")]
public ThumbnailInfo Thumbnail { get; set; } public ThumbnailInfo Thumbnail { get; set; }
[JsonProperty("video")]
public VideoInfo Video { get; set; }
} }
[JsonProperty("tts")] [JsonProperty("tts")]