23 lines
568 B
C#
23 lines
568 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Gateway
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Discord Gateway Hello structure
|
|||
|
/// </summary>
|
|||
|
internal struct GatewayHello
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// the interval (in milliseconds) the client should heartbeat with
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("heartbeat_interval")]
|
|||
|
public int HeartbeatInterval;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// used for debugging, array of servers connected to
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("_trace")]
|
|||
|
public string[] DebugTrace;
|
|||
|
}
|
|||
|
}
|