23 lines
632 B
C#
23 lines
632 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Gateway
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Discord Gateway Status Update structure
|
|||
|
/// </summary>
|
|||
|
internal struct GatewayStatusUpdate
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// unix time (in milliseconds) of when the client went idle, or null if the client is not idle
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("idle_since")]
|
|||
|
public ulong? IdleSince;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// either null, or an object with one key 'name', representing the name of the game being played
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("game")]
|
|||
|
public object Game;
|
|||
|
}
|
|||
|
}
|