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

    Interface MenuPrompt

    Prompt configuration for menu playback, including prompt messages and barge-in behavior.

    interface MenuPrompt {
        allowBargeIn?: boolean;
        messages: Message[];
    }
    Index

    Properties

    allowBargeIn?: boolean

    Controls whether input can interrupt prompt playback. When enabled, playback stops as soon as input is detected and the input is evaluated immediately if matching conditions are met. When disabled, input is still collected during playback and evaluated after playback finishes.

    messages: Message[]

    Ordered list of messages to play.