Steffo99 / greed

Customizable, multilanguage Telegram shop bot with Payments support
GNU Affero General Public License v3.0
504 stars 253 forks source link

Update `python-telegram-bot` to `20.6` #222

Open OniMock opened 7 months ago

OniMock commented 7 months ago

Describe the proposed feature

Is it possible to update the python-telegram-bot dependency to version 20.6?

I tried to update, but I couldn't implement it in the code.

Steffo99 commented 7 months ago

I think the library has changed a lot since then, it's not a trivial task...

OniMock commented 7 months ago

Yes, it's very difficult. most methods can be transformed into async, but in the work class method __receive_next_update

I can't return the data variable that is inside the try Always ends up falling into the except queuem.Empty

I've already tried transforming it into asyncio.Queue, but I didn't get any results.

codewarnab commented 6 months ago

i can do this i have updated many ptb repos ro v20 from v13

techistoner commented 2 months ago

Whether there is the possibility of upgrading