Skip to main content

Class RichGame

A user's Rich Presence status.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class RichGame : Game, IActivity

Properties​

State​

Gets the user's current party status.

View Source​
Declaration
public string State { get; }

ApplicationId​

Gets the application ID for the game.

View Source​
Declaration
public ulong ApplicationId { get; }

SmallAsset​

Gets the small image for the presence and their hover texts.

View Source​
Declaration
public GameAsset SmallAsset { get; }

LargeAsset​

Gets the large image for the presence and their hover texts.

View Source​
Declaration
public GameAsset LargeAsset { get; }

Party​

Gets the information for the current party of the player.

View Source​
Declaration
public GameParty Party { get; }

Secrets​

Gets the secrets for Rich Presence joining and spectating.

View Source​
Declaration
public GameSecrets Secrets { get; }

Timestamps​

Gets the timestamps for start and/or end of the game.

View Source​
Declaration
public GameTimestamps Timestamps { get; }

Methods​

ToString()​

Returns the name of the Rich Presence.

View Source​
Declaration
public override string ToString()
Returns​

System.String

Implements​