Content
Stentor API Reference / stentor-models/src / Content
Interface: Content
Defined in: packages/stentor-models/src/Handler/Content.ts:9
Base content map for the handler.
All handlers have contextual help and cancel content
Indexable​
[key: string]: Response[]
All remaining content must be an array of string keys corresponding to an array of responses.
Properties​
CancelIntent?​
optionalCancelIntent:Response[]
Defined in: packages/stentor-models/src/Handler/Content.ts:13
Used when the user says "cancel" or "exit"
HelpIntent?​
optionalHelpIntent:Response[]
Defined in: packages/stentor-models/src/Handler/Content.ts:18
Used when the user asks for help, opportunity to provide contextual help based on the current handler.