Sinch Node.js SDK - v1.7.0
    Preparing search index...

    Class MessageCreator

    Builds a messages command. text is plain text. Use ssml for SSML. text, ssml, and play stack message items.

    Index

    Constructors

    Methods

    • Maps to messagesName on the messages command.

      Parameters

      • name: string

      Returns this

    • Parameters

      • url: string

      Returns this

    • Adds a Say message with format: 'SSML'.

      Parameters

      • ssml: string
      • voiceName: string

      Returns this

    • Adds a plain-text Say message.

      Parameters

      • text: string
      • voiceName: string

      Returns this