import { type GatewayPresenceUpdate } from "https://deno.land/x/discord_api_types@0.37.30/payloads/v9/mod.ts";
Properties
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: PresenceUpdateStatusEither "idle", "dnd", "online", or "offline"
optional
activities: GatewayActivity[]User's current activities
See https://discord.com/developers/docs/topics/gateway-events#activity-object
optional
client_status: GatewayPresenceClientStatusUser's platform-dependent status
See https://discord.com/developers/docs/topics/gateway-events#client-status-object