22 lines
708 B
C#
22 lines
708 B
C#
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Discord.API.Gateway
|
|
{
|
|
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
|
internal class IdentifyParams
|
|
{
|
|
[JsonProperty("token")]
|
|
public string Token { get; set; }
|
|
[JsonProperty("properties")]
|
|
public IDictionary<string, string> Properties { get; set; }
|
|
[JsonProperty("large_threshold")]
|
|
public int LargeThreshold { get; set; }
|
|
[JsonProperty("shard")]
|
|
public Optional<int[]> ShardingParams { get; set; }
|
|
[JsonProperty("guild_subscriptions")]
|
|
public Optional<bool> GuildSubscriptions { get; set; }
|
|
}
|
|
}
|