Skip to main content
Module

x/denocordts/deps.ts>GatewayPresenceUpdate

An Object Oriented Discord API wrapper for Deno.
Latest
interface GatewayPresenceUpdate
Re-export
import { type GatewayPresenceUpdate } from "https://deno.land/x/denocordts@1.2.0/deps.ts";

Properties

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.

See https://discord.com/developers/docs/resources/user#user-object

guild_id: Snowflake

ID of the guild

optional
status: PresenceUpdateStatus

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