Emitted when the ownership of an interaction changes.
interaction.subscribe(InteractionEventType.INTERACTION_OWNERSHIP_CHANGED, (event) => { console.log("New owner:", event.payload.newOwner.fullName); console.log("Previous owner:", event.payload.previousOwner?.fullName);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_OWNERSHIP_CHANGED, (event) => { console.log("New owner:", event.payload.newOwner.fullName); console.log("Previous owner:", event.payload.previousOwner?.fullName);});
The event type identifier.
The event payload containing event-specific data.
The timestamp when the event occurred.
Emitted when the ownership of an interaction changes.
Example
See