Search Results for

    Show / Hide Table of Contents

    Class SocketPresence

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

    Inheritance
    Object
    SocketPresence
    Implements
    IPresence
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class SocketPresence : object, IPresence

    Properties

    | Improve this Doc View Source

    ActiveClients

    Declaration
    public IReadOnlyCollection<ClientType> ActiveClients { get; }
    Property Value
    Type Description
    IReadOnlyCollection<ClientType>
    | Improve this Doc View Source

    Activities

    Declaration
    public IReadOnlyCollection<IActivity> Activities { get; }
    Property Value
    Type Description
    IReadOnlyCollection<IActivity>
    | Improve this Doc View Source

    Status

    Gets the current status of this user.

    Declaration
    public UserStatus Status { get; }
    Property Value
    Type Description
    UserStatus

    Methods

    | Improve this Doc View Source

    ToString()

    Gets the status of the user.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that resolves to Status.

    Implements

    IPresence

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.6.0