Open odel4y opened 3 years ago
Hello!
Thanks for this nifty script! However the current code fails with newer python-telegram-bot>=12.0 pip packages. The reason is a change in how arguments are passed to the callbacks. See the official transition guide here: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-12.0#context-based-callbacks
I fixed the code accordingly. I also tested each Telegram command individually and it worked successfully.
If you don't mind, you can merge the changes.
Regards
Hello!
Thanks for this nifty script! However the current code fails with newer python-telegram-bot>=12.0 pip packages. The reason is a change in how arguments are passed to the callbacks. See the official transition guide here: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-12.0#context-based-callbacks
I fixed the code accordingly. I also tested each Telegram command individually and it worked successfully.
If you don't mind, you can merge the changes.
Regards