Skip to main content
Module

x/discord_api_types/v8.ts>GatewayPresenceUpdate

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface GatewayPresenceUpdate
Re-export
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type GatewayPresenceUpdate } from "https://deno.land/x/discord_api_types@0.37.11/v8.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"