interface GatewayPresenceUpdate

external
export interface GatewayPresenceUpdate

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

optionalexternal
activities? : GatewayActivity[]

User's current activitiesSee https://discord.com/developers/docs/topics/gateway-events#activity-object

optionalexternal
client_status? : GatewayPresenceClientStatus

User's platform-dependent statusSee https://discord.com/developers/docs/topics/gateway-events#client-status-object

external
guild_id : Snowflake

ID of the guild

optionalexternal
status? : PresenceUpdateReceiveStatus

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

external
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