MessageHandler class

Agent plugin that provides IMessageHandler methods

Signature:
export declare class MessageHandler implements IAgentPlugin
Implements: [IAgentPlugin](/docs/api/core.iagentplugin)

Constructors

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the MessageHandler class

Properties

PropertyModifiersTypeDescription
methodsIMessageHandlerPlugin methods
schemaany

Methods

MethodModifiersDescription
handleMessage(args, context)Parses and optionally saves a message