Interface: IncomingCallEvent
Defined in: Calls.types.ts:330
Payload describing one incoming call.
Delivered both inside a VoIP push (parsed natively by the module) and on CallSession.incomingCallEvent for any incoming-origin session.
Properties
eventId
eventId: string;Defined in: Calls.types.ts:332
Unique event identifier (UUID). Used for dedup.
serverCallId
serverCallId: string;Defined in: Calls.types.ts:336
Your backend's id for this call. Distinct from CallSession.id, which is the OS-assigned native call UUID. Use this id to talk to your server about the call (e.g. POST /calls/:serverCallId/answer).
hasVideo
hasVideo: boolean;Defined in: Calls.types.ts:338
True for video calls, false for audio.
startedAt?
optional startedAt?: string;Defined in: Calls.types.ts:340
RFC 3339 timestamp of when the call was placed. Optional; defaults to now.
caller
caller: CallParticipant;Defined in: Calls.types.ts:342
Caller identity and addressing.
metadata?
optional metadata?: Record<string, unknown>;Defined in: Calls.types.ts:350
App-defined extra fields, forwarded verbatim from the push payload.
The library treats this as opaque — put whatever your app needs here (chatId, tenantId, room name, etc.). Cast to your own type at the read site.