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/GatewayStatusUpdate.cs

22 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;
}
}