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

    Request to send a chat message on an interaction.

    const request = new ChatMessageRequest().setText("Hello team");
    await interaction.sendMessage(request);

    Hierarchy

    • MessageRequest
      • ChatMessageRequest
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    type: CHAT

    Accessors

    • get text(): string

      The plain-text content of the message.

      Returns string

    Methods

    • Sets the plain-text content.

      Parameters

      • text: string

      Returns this