Table of Contents

Namespace DiscordRPC.Message

Classes

CloseMessage

Called when the IPC has closed.

ConnectionEstablishedMessage

The connection to the discord client was succesfull. This is called before Ready.

ConnectionFailedMessage

Failed to establish any connection with discord. Discord is potentially not running?

ErrorMessage

Created when a error occurs within the ipc and it is sent to the client.

IMessage

Messages received from discord.

JoinMessage

Called when the Discord Client wishes for this process to join a game. D -> C.

JoinRequestMessage

Called when some other person has requested access to this game. C -> D -> C.

PresenceMessage

Representation of the message received by discord when the presence has been updated.

ReadyMessage

Called when the ipc is ready to send arguments.

SpectateMessage

Called when the Discord Client wishes for this process to spectate a game. D -> C.

SubscribeMessage

Called as validation of a subscribe

UnsubscribeMessage

Called as validation of a subscribe

Enums

ErrorCode

The error message received by discord. See https://discordapp.com/developers/docs/topics/rpc#rpc-server-payloads-rpc-errors for documentation

MessageType

Type of message.