29 lines
609 B
C#
29 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;
|
|||
|
}
|
|||
|
}
|