Skip to main content
Version: 0.37.46

GatewayPresenceUpdate

@deprecated

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

Index

Properties

optionalactivities

activities?: GatewayActivity[]

optionalclient_status

guild_id

guild_id: string

ID of the guild

optionalstatus

Either “idle”, “dnd”, “online”, or “offline”

user

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