Browse Source

Support null LastMessageIds

tags/docs-0.9
RogueException 9 years ago
parent
commit
539284e2ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/API/Client/Common/Channel.cs

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


Loading…
Cancel
Save