Interface ConversationPlugin<TName, TOut, TData>

Conversation plugins are used to extend the functionality of a conversation.

Type Parameters

Hierarchy

  • ConversationPlugin

Properties

Properties

creator: ConversationPluginCreator<TOut, TData>

Creator function to create a ConversationPluginCreatorDefinition object. This object is the one that will be used by the library to interact with the conversation.

Param

Conversation properties exposed to the plugin

Param

The plugin data previously stored by this plugin with the getPluginData method.

Returns

A ConversationPluginCreatorDefinition object with methods to interact with the conversation.

name: TName

A unique name for this plugin. You should set this to your plugin's package name to avoid name collisions.

Generated using TypeDoc