Preview environment

interface GatewayGuildMembersChunkPresence

external
export interface GatewayGuildMembersChunkPresence

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

optionalexternal
activities? : GatewayActivity[]

User's current activities

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

optionalexternal
client_status? : GatewayPresenceClientStatus

User's platform-dependent status

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

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 also: https://discord.com/developers/docs/resources/user#user-object