Added splash_hash to InviteReference.guild

This commit is contained in:
RogueException
2016-01-11 04:53:51 -04:00
parent 5bf2feb4c9
commit 13a4a1808b

View File

@@ -4,8 +4,14 @@ namespace Discord.API.Client
{ {
public class InviteReference public class InviteReference
{ {
public sealed class GuildData : GuildReference
{
[JsonProperty("splash_hash")]
public string Splash { get; set; }
}
[JsonProperty("guild")] [JsonProperty("guild")]
public GuildReference Guild { get; set; } public GuildData Guild { get; set; }
[JsonProperty("channel")] [JsonProperty("channel")]
public ChannelReference Channel { get; set; } public ChannelReference Channel { get; set; }
[JsonProperty("code")] [JsonProperty("code")]