feature: support guild subscription opt-out (#1386)

This commit is contained in:
Kieran Boyle
2019-10-01 20:51:02 +01:00
committed by Christopher F
parent 3d39704c6c
commit 0d54207a27
4 changed files with 16 additions and 6 deletions

View File

@@ -15,5 +15,7 @@ namespace Discord.API.Gateway
public int LargeThreshold { get; set; }
[JsonProperty("shard")]
public Optional<int[]> ShardingParams { get; set; }
[JsonProperty("guild_subscriptions")]
public Optional<bool> GuildSubscriptions { get; set; }
}
}