Interface
GatewayPresenceUpdateData
Presence update payload (opcode 3) — update status/activity.
Properties
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
?: booleanWhether the client is AFK.
custom_status
?: GatewayCustomStatus | nullCustom status; set text (and optionally emoji) for bots. Passable on identify and via presence update.
since
?: number | nullUnix timestamp when the client went idle (null if active).
status
: 'online' | 'idle' | 'dnd' | 'invisible'Status (online, idle, dnd, invisible).