An attachment message to be sent to the contact center.

Hierarchy

  • SendMessage
    • AttachmentMessage

Constructors

  • Parameters

    • attachment: Readonly<File>

      The File to be sent.

    • Optionaltext: string

      Text of the message

    • OptionalparentMessageId: string

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

    Returns AttachmentMessage

Methods

  • Returns Readonly<File>

    The File to be sent.

  • Returns undefined | string

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

  • Returns undefined | string

    Text of the message.

  • Returns SendMessageElementType

    The type of the message.