@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Interface InteractionMessageSentEvent

    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.

    interaction.subscribe(InteractionEventType.INTERACTION_MESSAGE_SENT, (event) => {
    console.log("Send confirmed:", event.payload.message.messageId);
    });
    interface InteractionMessageSentEvent {
        type: INTERACTION_MESSAGE_SENT;
        payload: InteractionMessageSentPayload;
        occurredAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The event type identifier.

    The event payload containing event-specific data.

    occurredAt: Date

    The timestamp when the event occurred.