Interface
GatewayPresenceUpdateData
Presence update payload (opcode 3) — update status/activity.
Properties
| Name | Type | Description |
|---|---|---|
| activities? | Array<{ name: string; /** Activity type integer (no closed OpenAPI enum yet). */ type: number; url?: string | null; }> | Activities array (for compatibility; Fluxer also supports custom_status). |
| afk? | boolean | Whether the client is AFK. |
| custom_status? | GatewayCustomStatus | null | Custom status; set text (and optionally emoji) for bots. Passable on identify and via presence update. |
| since? | number | null | Unix timestamp when the client went idle (null if active). |
| status | 'online' | 'idle' | 'dnd' | 'invisible' | Status (online, idle, dnd, invisible). |