Migrate away from request (deprecated)
Your code is using request and request-promise packages. However this package is no longer maintained! Please don't use it anymore.
More info: https://github.com/request/request/issues/3142
See alternatives: https://github.com/request/request/issues/3143 !
Is planed to change it at some point
"At some point", means "never" 🤣
Hint: Personally I use axios with much stability and joy.
No never, I'm thinking of doing it when I finish with some things that I have in refactor. Yes, recently in the last update we removed dependencies and included fixes.
As soon as I can I will put on it one of these weekends
Close this issue for the moment I label this other one https://github.com/yagop/node-telegram-bot-api/issues/1038