23 lines
485 B
C#
23 lines
485 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Gateway
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Discord Gateway Info structure
|
|||
|
/// </summary>
|
|||
|
internal struct GatewayInfo
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gateway WSS URL.
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("url")]
|
|||
|
public string Url;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Recommended numbers of shards to with (for bots).
|
|||
|
/// </summary>
|
|||
|
[JsonProperty("shards")]
|
|||
|
public int? Shards;
|
|||
|
}
|
|||
|
}
|