VoiceResponse
Extends:
Response → VoiceResponse
Direct Subclass:
Wrapper for voice channel audio responses.
Constructor Summary
Public Constructor | ||
public |
constructor(context: Object, inputMethod: VoiceInputMethod, payload: *, options: StreamOptions) Constructor. |
Inherited Summary
From class Response | ||
private |
The function handling the message response. |
|
public |
respond(): * Executes the message response handler. |
Public Constructors
public constructor(context: Object, inputMethod: VoiceInputMethod, payload: *, options: StreamOptions) source
Constructor.
Override:
Response#constructorParams:
Name | Type | Attribute | Description |
context | Object | The handler context. |
|
inputMethod | VoiceInputMethod | The method of voice input to use. |
|
payload | * | The source of the voice input. |
|
options | StreamOptions |
|
The options for playing the stream. |