-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJoinMessage.cs
More file actions
22 lines (20 loc) · 618 Bytes
/
JoinMessage.cs
File metadata and controls
22 lines (20 loc) · 618 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Newtonsoft.Json;
namespace DiscordRPC.Message
{
/// <summary>
/// Called when the Discord Client wishes for this process to join a game. D -> C.
/// </summary>
public class JoinMessage : IMessage
{
/// <summary>
/// The type of message received from discord
/// </summary>
public override MessageType Type
{ get { return MessageType.Join; } }
/// <summary>
/// The <see cref="Secrets.JoinSecret" /> to connect with.
/// </summary>
[JsonProperty("secret")]
public string Secret { get; internal set; }
}
}