In Botpress I want to store the authKey and Expiry in that and call for each iteration when ever the key expires it should call again the function and store it.
btw there is no refresh key, the API provides only key and expiry
There is very limited material on this could any of you worked or know about this it would be helpful.
https://botpress.com/reference/modules/_botpress_sdk_.kvs.html