Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Skill

Skills are loaded automatically when the bot is started. They must be in the module's definition to be loaded. Each skills must have a flow generator and a view with the same name (skillId)

Hierarchy

  • Skill

Index

Properties

flowGenerator

flowGenerator: function

When adding a new skill on the Flow Editor, the flow is constructed dynamically by this method

param

Provided by the skill view, those are fields edited by the user on the Flow Editor

param

Some metadata automatically provided, like the bot id

returns

The method should return

Type declaration

id

id: string

An identifier for the skill. Use only a-z_- characters.

Optional moduleName

moduleName: undefined | string

Name of the parent module. This field is filled automatically when they are loaded

name

name: string

The name that will be displayed in the toolbar for the skill

Generated using TypeDoc