Class SocketPresence
Represents the WebSocket user's presence status. This may include their online status and their activity.
Implements
Namespace: Discord.WebSocket
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketPresence : object, IPresence
Properties
| Improve this Doc View SourceActiveClients
Declaration
public IReadOnlyCollection<ClientType> ActiveClients { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<ClientType> |
Activities
Declaration
public IReadOnlyCollection<IActivity> Activities { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IActivity> |
Status
Gets the current status of this user.
Declaration
public UserStatus Status { get; }
Property Value
Type | Description |
---|---|
UserStatus |
Methods
| Improve this Doc View SourceToString()
Gets the status of the user.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that resolves to Status. |