Session Variables in Botkit

Suppose I have a session variable and I wanted to update this variable after end of each dialog. Can I do it using botkit? I mean can I change the session variables in on_event function and send it back to the bot?


Can you please help me on this as I’ve been waiting for a reply for 4 days

The entire context is available in the botkit under data.context… so if you want to update, you will need to modify in either on user message or on bot message events.