using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DiscordRPC.Message { /// /// Called when the Discord Client wishes for this process to join a game. D -> C. /// public class JoinMessage : IMessage { /// /// The type of message received from discord /// public override MessageType Type { get { return MessageType.Join; } } /// /// The to connect with. /// [JsonProperty("secret")] public string Secret { get; internal set; } } }