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

    Common fields shared by every Message type. Concrete types (ChatMessage, SystemMessage etc.) extend this with their type discriminator, a typed body, and any type-specific top-level metadata.

    interface MessageBase {
        messageId: string;
        createdAt: Date;
        interactionId: string;
        author: MessageAuthor;
        direction: MessageDirection;
        isPrivate: boolean;
        type: MessageType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    messageId: string

    Server-assigned message identifier.

    createdAt: Date

    When the server recorded the message.

    interactionId: string

    Identifier of the interaction this message belongs to.

    Union of all supported author types. narrow on author.type.

    direction: MessageDirection

    Whether the message was inbound or outbound relative to the contact center.

    isPrivate: boolean

    Whether the message is private (visible to viewers only, not the customer).

    Type of this message