Made API models internal. Removed Discord.Net.API.
This commit is contained in:
18
src/Discord.Net.WebSocket/API/Gateway/StatusUpdateParams.cs
Normal file
18
src/Discord.Net.WebSocket/API/Gateway/StatusUpdateParams.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma warning disable CS1591
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Discord.API.Gateway
|
||||
{
|
||||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
||||
internal class StatusUpdateParams
|
||||
{
|
||||
[JsonProperty("status")]
|
||||
public UserStatus Status { get; set; }
|
||||
[JsonProperty("since"), Int53]
|
||||
public long? IdleSince { get; set; }
|
||||
[JsonProperty("afk")]
|
||||
public bool IsAFK { get; set; }
|
||||
[JsonProperty("game")]
|
||||
public Game Game { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user