Implemented resume_gateway_url. (#2423)

* Implemented resume_gateway_url.

* Made the requested changes.

* Implemented passing the gateway URL down from DiscordShardedClient.

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
This commit is contained in:
Quahu
2022-09-14 17:08:25 +02:00
committed by GitHub
parent 2a6fca6653
commit d4c533aed0
4 changed files with 72 additions and 9 deletions

View File

@@ -20,6 +20,8 @@ namespace Discord.API.Gateway
public User User { get; set; }
[JsonProperty("session_id")]
public string SessionId { get; set; }
[JsonProperty("resume_gateway_url")]
public string ResumeGatewayUrl { get; set; }
[JsonProperty("read_state")]
public ReadState[] ReadStates { get; set; }
[JsonProperty("guilds")]