IMessageHandler.handleMessage() method

Parses and optionally saves a message

Signature:
handleMessage(args: IHandleMessageArgs, context: IAgentContext<IDataStore>): Promise<IMessage>;

Parameters

ParameterTypeDescription
argsIHandleMessageArgs
contextIAgentContext <IDataStore>Execution context. Requires agent with IDataStore methods
Returns:

Promise<IMessage >