Context Object Error in BotUserSession delete function or documentation



Context Object working with

Here is whay I get in my test script: “BotUserSession.delete is not a function”

So seems documentation states that the delete method is valid, could it be an error in the documentation or a bug? I try to delete this for testing purposes Instead of waiting for TTL

(Swagat) #2

Seems documentation is incorrect. Try to use something like

UserSession.put("key_name", undefined);

This can at least unset it if not delete.