Browse Source

Change LastMessageId to nullable

tags/1.0-rc
RogueException 9 years ago
parent
commit
4365aced85
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Discord.Net/API/Common/Channel.cs
  2. +1
    -1
      src/Discord.Net/API/Common/ReadState.cs

+ 1
- 1
src/Discord.Net/API/Common/Channel.cs 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")]


+ 1
- 1
src/Discord.Net/API/Common/ReadState.cs 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; }
}
}

Loading…
Cancel
Save