mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-07-12 12:49:13 +00:00
First commit
This commit is contained in:
23
DiscordAPI/RPC/Payload/ClosePayload.cs
Normal file
23
DiscordAPI/RPC/Payload/ClosePayload.cs
Normal file
@ -0,0 +1,23 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user