Closed StrangeTcy closed 4 years ago
Well, apparently you can install tgintegration v 0.2.4 from pypi, and you can also clone the repository and run python setup.py install
and get v 0.4.0.
ETA: tgintegration v 0.4.0 depends on pyrogram_async, which seems to try importing from a module that doesn't exist: https://github.com/pyrogram/pyrogram/issues/410
It should depend on asyncio-dev
instead.
I have kind of given up on the idea of making the library work with both synchronous and asynchronous Pyrogram, so I'm probably going to drop the sync support to reduce complexity. Would that work for everyone?
https://t.me/TgIntegration
Description
What I Did
I've adapted the example for my bot and tried to run it
which led to en error:
It would seem that in current pyrogram (v 0.17.1) there's no longer a
pyrogram.api.error
section, and error handling is performed by functions inpyrogram.errors