Browse Source

Send channel_id as a string, not long

tags/docs-0.9
RogueException 9 years ago
parent
commit
b5cbf3664b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Discord.Net/API/Messages/Members.cs

+ 1
- 0
src/Discord.Net/API/Messages/Members.cs View File

@@ -85,6 +85,7 @@ namespace Discord.API
[JsonProperty("deaf", NullValueHandling = NullValueHandling.Ignore)]
public bool? Deaf;
[JsonProperty("channel_id", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(NullableLongStringConverter))]
public long? ChannelId;
[JsonProperty("roles", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(EnumerableLongStringConverter))]


Loading…
Cancel
Save