From 539284e2acba427ea1e10e60e2f56ce44ff215b9 Mon Sep 17 00:00:00 2001 From: RogueException Date: Wed, 16 Dec 2015 19:05:35 -0400 Subject: [PATCH] Support null LastMessageIds --- src/Discord.Net/API/Client/Common/Channel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net/API/Client/Common/Channel.cs b/src/Discord.Net/API/Client/Common/Channel.cs index 7a06a441c..475abd5c7 100644 --- a/src/Discord.Net/API/Client/Common/Channel.cs +++ b/src/Discord.Net/API/Client/Common/Channel.cs @@ -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")]