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

    Variable MessagesConst

    Messages: {
        play(url: string, options?: MessagesShortcutOptions): MessagesCommand;
        ssml(
            ssml: string,
            voiceName: string,
            options?: MessagesShortcutOptions,
        ): MessagesCommand;
        start(build: (creator: MessageCreator) => void): MessagesCommand;
        stop(name: string): StopMessagesCommand;
        text(
            text: string,
            voiceName: string,
            options?: MessagesShortcutOptions,
        ): MessagesCommand;
    }

    Builds one messages command. text is a plain-text shortcut. ssml is the SSML shortcut. play plays one file. start stacks several messages. stop stops a named sequence.

    Type Declaration