Class DiscordActivity
Represents an activity a user is currently engaged in.
Inherited Members
Namespace: Discore
Assembly: Discore.dll
Syntax
public class DiscordActivity
Properties
| Name | Description |
|---|---|
| ApplicationId | Gets the application ID for the game. |
| Assets | Gets images for the presence and their hover texts. May be null. |
| Buttons | Gets a list of custom button labels shown in the Rich Presence. May be null. |
| CreatedAt | Gets the unix timestamp (in milliseconds) of when the activity was added to the user's session. |
| Details | Gets what the player is currently doing. May be null. |
| Emoji | Gets the emoji used for a custom status. May be null. |
| Flags | Gets flags describing what the payload includes. |
| Instance | Gets whether the activity is an instanced game session. |
| Name | Gets the name of the activity. |
| Party | Gets information for the current party of the player. May be null. |
| Secrets | Gets secrets for Rich Presence joining and spectating. May be null. |
| State | Gets the user's current party status. May be null. |
| Timestamps | Gets the unix timestamps for start and/or end of the game. May be null. |
| Type | Gets the type of activity. |
| Url | Gets the URL of the stream when the type is set to "Streaming" and the URL is valid. Otherwise, returns null. |
Methods
| Name | Description |
|---|---|
| ToString() |