Skip to main content

@dialstack/sdk-dev / server/src / UserPresence

Interface: UserPresence

Defined in: sdk/server/src/index.ts:1968

Extended by

Properties

do_not_disturb

TypeScript
do_not_disturb: boolean;

Defined in: sdk/server/src/index.ts:1987

Whether server-side do-not-disturb is enabled. A separate axis from state: a user can be available but decline calls because do_not_disturb is on. Always emitted on responses.


notifiable

TypeScript
notifiable: boolean;

Defined in: sdk/server/src/index.ts:1981

Reachable by waking a backgrounded or parked device when not currently registered. A separate axis from state: a user can be offline but notifiable.


object

TypeScript
object: "user_presence";

Defined in: sdk/server/src/index.ts:1974

The resource this is. Always 'user_presence'. Present on the singleton read as well as on every element of a presence list, which is what tells user presence apart from the other presentity types a list can carry.


state

TypeScript
state: PresenceState;

Defined in: sdk/server/src/index.ts:1975


webrtc

TypeScript
webrtc: WebRTCReachability;

Defined in: sdk/server/src/index.ts:1989

WebRTC-specific reachability, separate from the endpoint-agnostic state.