using Maki.Structures.Channels;
using Maki.Structures.Guilds;
using Maki.Structures.Users;
using Newtonsoft.Json;
namespace Maki.Structures.Gateway
{
///
/// Discord Gateway Ready structure
///
internal struct GatewayReady
{
///
/// gateway protocol version
///
[JsonProperty("v")]
public int Version;
///
/// user object (with email information)
///
[JsonProperty("user")]
public User User;
///
/// array of DM channel objects
///
[JsonProperty("private_channels")]
public Channel[] PrivateChannels;
///
/// array of Unavailable Guild objects
///
[JsonProperty("guilds")]
public Guild[] UnavailableGuilds;
///
/// used for resuming connections
///
[JsonProperty("session_id")]
public string Session;
///
/// used for debugging, array of servers connected to
///
[JsonProperty("_trace")]
public string[] DebugTrace;
}
}