using Newtonsoft.Json;
namespace Maki.Structures.Gateway
{
///
/// Discord Gateway Identification structure
///
internal struct GatewayIdentification
{
///
/// authentication token
///
[JsonProperty("token")]
public string Token;
///
/// connection properties
///
[JsonProperty("properties")]
public GatewayIdentificationProperties Properties;
///
/// whether this connection supports compression of the initial ready packet
///
[JsonProperty("compress")]
public bool Compress;
///
/// value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list
///
[JsonProperty("large_threshold")]
public int LargeThreshold;
///
/// array of two integers (shard_id, num_shards), used for Guild Sharding
///
[JsonProperty("shard")]
public int[] Shard;
}
}