using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DiscordRPC.RPC.Payload { internal class ClosePayload : IPayload { /// /// The close code the discord gave us /// [JsonProperty("code")] public int Code { get; set; } /// /// The close reason discord gave us /// [JsonProperty("message")] public string Reason { get; set; } } }