Support null LastMessageIds

This commit is contained in:
RogueException
2015-12-16 19:05:35 -04:00
parent b8e4f6c5da
commit 539284e2ac

View File

@@ -19,7 +19,7 @@ namespace Discord.API.Client
}
[JsonProperty("last_message_id"), JsonConverter(typeof(NullableLongStringConverter))]
public ulong LastMessageId { get; set; }
public ulong? LastMessageId { get; set; }
[JsonProperty("is_private")]
public bool IsPrivate { get; set; }
[JsonProperty("position")]