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

    Interface MenuCommand

    Defines a set of named menus and executes them starting from startMenu. This is a blocking command — execution waits for the menu to complete before proceeding to the next command. Each menu item configures prompts, input collection, timeout handling, and repeat behavior.

    interface MenuCommand {
        command: "menu";
        menus: { [key: string]: MenuItem };
        startMenu: string;
    }
    Index

    Properties

    command: "menu"

    Executes menu-based input collection using the configured menu definitions.

    menus: { [key: string]: MenuItem }

    Map of menu definitions keyed by menu name.

    startMenu: string

    Name of the menu to execute first. Must match a key in menus.