Change LastMessageId to nullable

This commit is contained in:
RogueException
2016-05-15 02:14:41 -03:00
parent 1ee5e6d771
commit 4365aced85
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ namespace Discord.API
[JsonProperty("is_private")]
public bool IsPrivate { get; set; }
[JsonProperty("last_message_id")]
public ulong LastMessageId { get; set; }
public ulong? LastMessageId { get; set; }
//GuildChannel
[JsonProperty("guild_id")]

View File

@@ -9,6 +9,6 @@ namespace Discord.API
[JsonProperty("mention_count")]
public int MentionCount { get; set; }
[JsonProperty("last_message_id")]
public ulong LastMentionId { get; set; }
public ulong? LastMessageId { get; set; }
}
}