mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-05-25 19:34:25 +00:00
26 lines
621 B
C#
26 lines
621 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace DiscordRPC.Message
|
|
{
|
|
/// <summary>
|
|
/// Called when some other person has requested access to this game. C -> D -> C.
|
|
/// </summary>
|
|
public class JoinRequestMessage : IMessage
|
|
{
|
|
/// <summary>
|
|
/// The type of message received from discord
|
|
/// </summary>
|
|
public override MessageType Type { get { return MessageType.JoinRequest; } }
|
|
|
|
/// <summary>
|
|
/// The discord user that is requesting access.
|
|
/// </summary>
|
|
[JsonProperty("user")]
|
|
public User User { get; internal set; }
|
|
}
|
|
}
|