Table of Contents

Class SocketPresence

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

Represents the WebSocket user's presence status. This may include their online status and their activity.

public class SocketPresence : IPresence
Inheritance
SocketPresence
Implements
Inherited Members

Properties

ActiveClients

Gets the set of clients where this user is currently active.

public IReadOnlyCollection<ClientType> ActiveClients { get; }

Property Value

IReadOnlyCollection<ClientType>

Activities

Gets the list of activities that this user currently has available.

public IReadOnlyCollection<IActivity> Activities { get; }

Property Value

IReadOnlyCollection<IActivity>

Status

Gets the current status of this user.

public UserStatus Status { get; }

Property Value

UserStatus

Methods

ToString()

Gets the status of the user.

public override string ToString()

Returns

string

A string that resolves to Status.