A text message to be sent to the contact center.

Hierarchy

  • SendMessage
    • TextMessage

Constructors

  • Parameters

    • text: string

      Textual content of the message.

    • OptionalparentMessageId: string

      The identifier of the message that is the parent of this message.

    Returns TextMessage

Methods

  • Returns undefined | string

    The identifier of the message that is the parent of this message.

  • Get the textual content of the message.

    Returns string