Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModuleEntryPoint

The Module Entry Point is used by the module loader to bootstrap the module. It must be present in the index.js file of the module. The path to the module must also be specified in the global botpress config.

Hierarchy

  • ModuleEntryPoint

Index

Properties

Optional botTemplates

botTemplates: BotTemplate[]

An array of available bot templates when creating a new bot

definition

definition: ModuleDefinition

Additional metadata about the module

Optional onBotMount

onBotMount: undefined | function

Optional onBotUnmount

onBotUnmount: undefined | function

Optional onFlowChanged

onFlowChanged: undefined | function

onServerReady

onServerReady: function

This is called once all modules are initialized, usually for routing and logic

Type declaration

onServerStarted

onServerStarted: function

Called once the core is initialized. Usually for middlewares / database init

Type declaration

Optional skills

skills: Skill[]

An array of the flow generators used by skills in the module

Generated using TypeDoc