Discord.https - v3.0.16
    Preparing search index...

    Interface GatewayPresenceUpdate

    interface GatewayPresenceUpdate {
        activities?: GatewayActivity[];
        client_status?: GatewayPresenceClientStatus;
        guild_id: string;
        status?: PresenceUpdateReceiveStatus;
        user: Partial<APIUser> & Pick<APIUser, "id">;
    }

    Hierarchy (View Summary)

    Index

    Properties

    activities?: GatewayActivity[]

    User's current activities

    User's platform-dependent status

    guild_id: string

    ID of the guild

    Either "idle", "dnd", "online", or "offline"

    user: Partial<APIUser> & Pick<APIUser, "id">

    The user presence is being updated for

    The user object within this event can be partial, the only field which must be sent is the id field, everything else is optional.