Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Gateway/GatewayResume.cs

28 lines
609 B
C#

using Newtonsoft.Json;
namespace Maki.Structures.Gateway
{
/// <summary>
/// Discord Gateway Resume structure
/// </summary>
internal struct GatewayResume
{
/// <summary>
/// session token
/// </summary>
[JsonProperty("token")]
public string Token;
/// <summary>
/// session id
/// </summary>
[JsonProperty("session_id")]
public string Session;
/// <summary>
/// last sequence number received
/// </summary>
[JsonProperty("seq")]
public int LastSequence;
}
}