I have created a simple bot using the botmaster framework (using a Telegram bot type) and added botmaster-session-ware to store a simple count attribute across requests.
The incoming ware appears to create the session OK, but the outgoing ware throws a TypeError with the message: "Cannot read property 'id' of undefined"
I am using:
- NodeJS v6.9.4
- botmaster v2.2.7
- botmaster-session-ware v0.1.0
Bot source files and logging trace attached.
source.zip
botmaster-session-ware-typeerror.txt