@aws-amplify/interactions
- Version 4.0.44
- Published
- 2.88 MB
- 2 dependencies
- Apache-2.0 license
Install
npm i @aws-amplify/interactions
yarn add @aws-amplify/interactions
pnpm add @aws-amplify/interactions
Overview
Interactions category of aws-amplify
Index
Variables
Classes
Interfaces
Type Aliases
Variables
variable Interactions
const Interactions: InteractionsClass;
Classes
class AWSLexProvider
class AWSLexProvider extends AbstractInteractionsProvider {}
constructor
constructor(options?: InteractionsOptions);
method getProviderName
getProviderName: () => string;
method onComplete
onComplete: (botname: string, callback: any) => void;
method reportBotStatus
reportBotStatus: (data: any, botname: any) => void;
method sendMessage
sendMessage: ( botname: string, message: string | InteractionsMessage) => Promise<InteractionsResponse>;
Interfaces
interface InteractionsOptions
interface InteractionsOptions {}
index signature
[key: string]: any;
interface InteractionsProvider
interface InteractionsProvider {}
method configure
configure: (config: object) => object;
method getCategory
getCategory: () => string;
method getProviderName
getProviderName: () => string;
method onComplete
onComplete: ( botname: string, callback: (err: any, confirmation: InteractionsResponse) => void) => any;
method sendMessage
sendMessage: (botname: string, message: string | Object) => Promise<object>;
interface InteractionsProviders
interface InteractionsProviders {}
index signature
[key: string]: InteractionsProvider;
Type Aliases
type InteractionsMessage
type InteractionsMessage = InteractionsTextMessage | InteractionsVoiceMessage;
type InteractionsResponse
type InteractionsResponse = { [key: string]: any;};
type InteractionsTextMessage
type InteractionsTextMessage = { content: string; options: { messageType: 'text'; };};
type InteractionsVoiceMessage
type InteractionsVoiceMessage = { content: object; options: { messageType: 'voice'; };};
Package Files (6)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@aws-amplify/interactions
.
- Markdown[](https://www.jsdocs.io/package/@aws-amplify/interactions)
- HTML<a href="https://www.jsdocs.io/package/@aws-amplify/interactions"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3262 ms. - Missing or incorrect documentation? Open an issue for this package.