Emitted when the agent's own message has been accepted by the server. Useful for reconciling optimistic UI state. Inspect event.payload.message.isPrivate to tell private (viewer-only) messages apart from customer-visible ones.
event.payload.message.isPrivate
interaction.subscribe(InteractionEventType.INTERACTION_MESSAGE_SENT, (event) => { console.log("Send confirmed:", event.payload.message.messageId);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_MESSAGE_SENT, (event) => { console.log("Send confirmed:", event.payload.message.messageId);});
The event type identifier.
The event payload containing event-specific data.
The timestamp when the event occurred.
Emitted when the agent's own message has been accepted by the server. Useful for reconciling optimistic UI state. Inspect
event.payload.message.isPrivateto tell private (viewer-only) messages apart from customer-visible ones.Example
See