Enum MessageType
- Namespace
- DiscordRPC.Message
- Assembly
- DiscordRPC.dll
Type of message.
public enum MessageType
Fields
Ready = 0The Discord Client is ready to send and receive messages.
Close = 1The connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again.
Error = 2A error has occured during the transmission of a message. For example, if a bad Rich Presence payload is sent, this event will be called explaining what went wrong.
PresenceUpdate = 3The Discord Client has updated the presence.
Subscribe = 4The Discord Client has subscribed to an event.
Unsubscribe = 5The Discord Client has unsubscribed from an event.
Join = 6The Discord Client wishes for this process to join a game.
Spectate = 7The Discord Client wishes for this process to spectate a game.
JoinRequest = 8Another discord user requests permission to join this game.
ConnectionEstablished = 9The connection to the discord client was succesfull. This is called before Ready.
ConnectionFailed = 10Failed to establish any connection with discord. Discord is potentially not running?