Skip to main content
Module

x/discord_api_types/v9.ts>GatewayPresenceUpdate

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface GatewayPresenceUpdate
Re-export
import { type GatewayPresenceUpdate } from "https://deno.land/x/discord_api_types@0.37.11/v9.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"