@dialstack/sdk-dev / js/src / MenuOption
Interface: MenuOption
Defined in: sdk/js/src/types/dial-plan.ts:75
A single DTMF option in a menu node.
Properties
digit
TypeScript
digit: string;
Defined in: sdk/js/src/types/dial-plan.ts:77
DTMF digit: "0"-"9", "*", or "#"
label?
TypeScript
optional label?: string;
Defined in: sdk/js/src/types/dial-plan.ts:81
Optional display label shown next to the digit on the node (max 20 chars)
next_node?
TypeScript
optional next_node?: string;
Defined in: sdk/js/src/types/dial-plan.ts:79
Node ID to route to when this digit is pressed