Appends an answer command.
Appends a bridgeCall command. name is written to bridgeName.
Appends a gotoMenu command. name is written to menuName.
The target must be an item of the menu that contains this command.
Appends a pause command. durationMilliseconds is required by the command.
Shortcut: appends a messages command with one play message.
url is required by the play message.
Optionaloptions: MessagesShortcutOptionsReturns a menu prompt. This does not append a command.
Pass the result to a menu item, or build the prompt on the item directly.
text on the prompt is plain text.
Appends a stopMessages command. name is written to messagesName.
Appends a stopRecording command. name is written to recordingName.
Shortcut: appends a messages command with one plain-text Say message.
SSML belongs on messages via ssml, not on this shortcut.
Optionaloptions: MessagesShortcutOptions
Commands sequence creator.
Command helpers that return one command live beside this class: Amd, Calls, Menu, Messages, Recording, and Webhook.
Helper names on the sequence follow the SVAML sequence creator:
amd,answer,bridgeCall,webhook,dial,hangup,menu,gotoMenu,messages,stopMessages,play,pause,prompt,recording,stopRecording,text, andcommand.Each command helper appends to the sequence and returns it.
promptreturns a MenuPrompt and does not append a command.textis a plain-text shortcut. Usemessageswithssmlfor SSML.