Interface IActivity
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
A user's activity status, typically a Game.
public interface IActivity
Properties
Details
Gets the details on what the player is currently doing.
string Details { get; }
Property Value
- string
A string describing what the player is doing.
Flags
Gets the flags that are relevant to this activity.
ActivityProperties Flags { get; }
Property Value
- ActivityProperties
The value of flags for this activity.
Remarks
This value is determined by bitwise OR-ing ActivityProperties values together.
Name
Gets the name of the activity.
string Name { get; }
Property Value
- string
A string containing the name of the activity that the user is doing.
Type
Gets the type of the activity.
ActivityType Type { get; }
Property Value
- ActivityType
The type of activity.