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

    Interface InteractionMessageSentPayload

    The payload for the InteractionMessageSentEvent.

    The message.author.type is always MessageAuthorType.AGENT; the inner message.author.details.userId matches the current user's id.

    interface InteractionMessageSentPayload {
        interactionId: string;
        message: Message;
    }

    Hierarchy

    • InteractionBasePayload
      • InteractionMessageSentPayload
    Index

    Properties

    interactionId: string

    The ID of the interaction this event relates to.

    message: Message

    The transformed, fully-typed message - author is always the current agent.