Class DiscordActivity
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a game that a user is playing.
public sealed class DiscordActivity
- Inheritance
-
DiscordActivity
- Inherited Members
Constructors
- DiscordActivity()
Creates a new, empty instance of a DiscordActivity.
- DiscordActivity(string)
Creates a new instance of a DiscordActivity with specified name.
- DiscordActivity(string, ActivityType)
Creates a new instance of a DiscordActivity with specified name.
Properties
- ActivityType
Gets or sets the activity type.
- CustomStatus
Gets the custom status of this activity, if present.
- Id
Gets or sets the id of user's activity.
- Name
Gets or sets the name of user's activity.
- Platform
Gets or sets platform in this rich presence.
- RichPresence
Gets the rich presence details, if present.
- SessionId
Gets or sets session_id in this rich presence.
- State
Gets or sets the state of user's activity.
- StreamUrl
Gets or sets the stream URL, if applicable.
- SyncId
Gets or sets sync id in this rich presence.