We have built a bot using botkit v4 and we are using it with Facebook messenger.
We want to clear the state on a specific facebook_postback
.
I tried the following but nothing is working.
bot.controller.storage.delete(message.user)
I did not find any proper references in the documents as well. any help will be appreciated.
Storage.delete method takes a list of identifiers, so correct syntax is
Also you need to discover correct format for itemId, I have an example from websocket controller and it looks like this:
The final syntax would look like this: