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.
18 lines
503 B
18 lines
503 B
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API
|
|
{
|
|
internal class SocketFrame
|
|
{
|
|
[JsonProperty("op")]
|
|
public int Operation { get; set; }
|
|
[JsonProperty("t", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string Type { get; set; }
|
|
[JsonProperty("s", NullValueHandling = NullValueHandling.Ignore)]
|
|
public int? Sequence { get; set; }
|
|
[JsonProperty("d")]
|
|
public object Payload { get; set; }
|
|
}
|
|
}
|