|
12345678910111213141516171819202122232425 |
- #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("presence")]
- public Optional<StatusUpdateParams> Presence { get; set; }
- [JsonProperty("guild_subscriptions")]
- public Optional<bool> GuildSubscriptions { get; set; }
- [JsonProperty("intents")]
- public Optional<int> Intents { get; set; }
- }
- }
|