Send channel_id as a string, not long

This commit is contained in:
RogueException
2015-12-09 22:03:49 -04:00
parent c471fc51f5
commit b5cbf3664b

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))]