You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API.Gateway
|
|
{
|
|
internal class ReadyEvent
|
|
{
|
|
public class ReadState
|
|
{
|
|
[JsonProperty("id")]
|
|
public string ChannelId { get; set; }
|
|
[JsonProperty("mention_count")]
|
|
public int MentionCount { get; set; }
|
|
[JsonProperty("last_message_id")]
|
|
public string LastMessageId { get; set; }
|
|
}
|
|
|
|
[JsonProperty("v")]
|
|
public int Version { get; set; }
|
|
[JsonProperty("user")]
|
|
public User User { get; set; }
|
|
[JsonProperty("session_id")]
|
|
public string SessionId { get; set; }
|
|
[JsonProperty("read_state")]
|
|
public ReadState[] ReadStates { get; set; }
|
|
[JsonProperty("guilds")]
|
|
public ExtendedGuild[] Guilds { get; set; }
|
|
[JsonProperty("private_channels")]
|
|
public Channel[] PrivateChannels { get; set; }
|
|
[JsonProperty("relationships")]
|
|
public Relationship[] Relationships { get; set; }
|
|
|
|
//Ignored
|
|
/*[JsonProperty("user_settings")]
|
|
[JsonProperty("user_guild_settings")]
|
|
[JsonProperty("tutorial")]*/
|
|
}
|
|
}
|