@dialstack/sdk-dev / webrtc/src / PresenceUpdate
Interface: PresenceUpdate
Defined in: sdk/webrtc/src/types.ts:182
Properties
doNotDisturb
doNotDisturb: boolean;
Defined in: sdk/webrtc/src/types.ts:196
Whether the user has server-side Do Not Disturb enabled. A separate axis
from status: a user can be available but decline calls because DND is on.
The two answer different questions. DND is configuration — it persists until
someone changes it. status is a lossy summary of currently observed
signals, reduced to one value by the precedence on_call > available >
offline, so a user on a call reports on_call even with no registered
device. DND is never reported as a status value.
name
name: string;
Defined in: sdk/webrtc/src/types.ts:184
status
status: PresenceStatus;
Defined in: sdk/webrtc/src/types.ts:185
statusText
statusText: string | null;
Defined in: sdk/webrtc/src/types.ts:197
updatedAt
updatedAt: string;
Defined in: sdk/webrtc/src/types.ts:198
userId
userId: string;
Defined in: sdk/webrtc/src/types.ts:183