SDR-RPC/DiscordAPI/RPC/Payload/ClosePayload.cs
2023-09-05 01:21:19 +03:00

24 lines
465 B
C#

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