Send channel_id as a string, not long
This commit is contained in:
@@ -85,6 +85,7 @@ namespace Discord.API
|
|||||||
[JsonProperty("deaf", NullValueHandling = NullValueHandling.Ignore)]
|
[JsonProperty("deaf", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool? Deaf;
|
public bool? Deaf;
|
||||||
[JsonProperty("channel_id", NullValueHandling = NullValueHandling.Ignore)]
|
[JsonProperty("channel_id", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
|
[JsonConverter(typeof(NullableLongStringConverter))]
|
||||||
public long? ChannelId;
|
public long? ChannelId;
|
||||||
[JsonProperty("roles", NullValueHandling = NullValueHandling.Ignore)]
|
[JsonProperty("roles", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
[JsonConverter(typeof(EnumerableLongStringConverter))]
|
[JsonConverter(typeof(EnumerableLongStringConverter))]
|
||||||
|
|||||||
Reference in New Issue
Block a user