Preview environment

interface GatewayPresenceUpdate

export interface GatewayPresenceUpdate

See also: https://discord.com/developers/docs/topics/gateway-events#presence-update-presence-update-event-fields

optional
activities? : GatewayActivity[]

User's current activities

See also: https://discord.com/developers/docs/topics/gateway-events#activity-object

guild_id : Snowflake

ID of the guild

optional
status? : PresenceUpdateReceiveStatus

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.**

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