Package version:

interface ChoiceResult {
    label?: string;
    recognizedPhrase?: string;
}

Properties

label?: string

Label is the primary identifier for the choice detected

recognizedPhrase?: string

Phrases are set to the value if choice is selected via phrase detection. If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null