A text message to be sent to the contact center.

Hierarchy

  • SendMessage
    • TextMessage

Constructors

  • Parameters

    • text: string

      Text of the message

    • OptionalparentMessageId: string

      The unique 36 character internal id for the message that is the parent of this message

    Returns TextMessage

Methods

  • Returns undefined | string

    The unique 36 character internal id for the message that is the parent of this message.

  • Get the text of the message.

    Returns string

  • Returns SendMessageElementType

    The type of the message.